projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a271d
)
Make config updates get counted correctly for bug #187741. (trunk r7564)
author
Zac Medico
<zmedico@gentoo.org>
Sat, 4 Aug 2007 19:45:18 +0000
(19:45 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 4 Aug 2007 19:45:18 +0000
(19:45 -0000)
svn path=/main/branches/2.1.2/; revision=7565
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 34f49296b056dd95cb4597cf03c7134e45b61e70..1dcec33ca3602af0bfdaa800ed50fbe77cae7225 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-4380,7
+4380,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):