projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5f765
)
Fix a potential TypeError.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Apr 2008 18:45:33 +0000
(18:45 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 9 Apr 2008 18:45:33 +0000
(18:45 -0000)
svn path=/main/branches/2.1.2/; revision=9781
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index f093f54936defa65ada246a101b5963b3ebb1ac6..c9fdbe6fa1d9c863a0b154d567a764f4360028ea 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-529,7
+529,7
@@
def elog_process(cpv, mysettings):
except OSError:
pass
# shortcut for packages without any messages
- if
len(mylogfiles) == 0
:
+ if
not mylogfiles
:
return
# exploit listdir() file order so we process log entries in chronological order
mylogfiles.reverse()