diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-08-15 20:29:44 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-08-15 20:29:44 +0000 |
commit | 7756a3b09663685e9deb8fcac40af81271c7a3f6 (patch) | |
tree | f374e274d6287a40e4e1cc664beccd1c823d978e | |
parent | cd to ${WORKDIR} if the ${S} directory does not exist. (branches/2.1.2 r7557 ... (diff) | |
download | portage-multirepo-7756a3b09663685e9deb8fcac40af81271c7a3f6.tar.gz portage-multirepo-7756a3b09663685e9deb8fcac40af81271c7a3f6.tar.bz2 portage-multirepo-7756a3b09663685e9deb8fcac40af81271c7a3f6.zip |
Make config updates get counted correctly for bug #187741. (branches/2.1.2 r7564)
svn path=/main/branches/2.1.2.9/; revision=7613
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3846,7 +3846,10 @@ def chk_updated_cfg_files(target_root, config_protect): print >> sys.stderr, " " + bad("*")+ " error scanning '%s'" % x else: files = a[1].split('\0') - if files != ['']: + # split always produces an empty string as the last element + if files and not files[-1]: + del files[-1] + if files: procount += 1 print colorize("WARN", " * IMPORTANT:"), if stat.S_ISDIR(mymode): |