projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdf3d2
)
Make config updates get counted correctly for bug #187741.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 4 Aug 2007 19:44:12 +0000
(19:44 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 4 Aug 2007 19:44:12 +0000
(19:44 -0000)
svn path=/main/trunk/; revision=7564
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index b4e2102c41ad1c8530af897ba0269082df530d31..6c77bec6f9591c842eb527ee57f8720cf0ca7395 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-4393,7
+4393,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):