diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-09 18:45:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-09 18:45:33 +0000 |
commit | efb321e18e09e150acc28087467f79d8b87b4cfb (patch) | |
tree | 725ebdbbe275f53e88954f966aa955540e3ee7ce /pym | |
parent | 7c5f7657ed3e2402942a6b03c69ac61ebf64bf5b (diff) | |
download | portage-efb321e18e09e150acc28087467f79d8b87b4cfb.tar.gz portage-efb321e18e09e150acc28087467f79d8b87b4cfb.tar.bz2 portage-efb321e18e09e150acc28087467f79d8b87b4cfb.zip |
Fix a potential TypeError.
svn path=/main/branches/2.1.2/; revision=9781
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index f093f5493..c9fdbe6fa 100644 --- 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() |