summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-18 20:03:09 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-18 20:03:09 +0000
commitf02fdec61d2c66f433e33ce49e06dc2ebf470afc (patch)
tree5524c33f6702f0cd30b0a15d0fb7b3b396339158
parent6f483174ffc40f6a2a7243fd1bf3123386829e8a (diff)
downloadportage-f02fdec61d2c66f433e33ce49e06dc2ebf470afc.tar.gz
portage-f02fdec61d2c66f433e33ce49e06dc2ebf470afc.tar.bz2
portage-f02fdec61d2c66f433e33ce49e06dc2ebf470afc.zip
don't force a comparison
svn path=/main/trunk/; revision=5710
-rw-r--r--pym/portage_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_news.py b/pym/portage_news.py
index a20241b31..d3e5ea4f7 100644
--- a/pym/portage_news.py
+++ b/pym/portage_news.py
@@ -83,7 +83,7 @@ class NewsManager(object):
if tmp.isRelevant( profile=os.readlink(PROFILE_PATH), config=config, vardb=self.vdb):
updates.append( tmp )
finally:
- if newsdir_lock != None:
+ if newsdir_lock:
unlockdir(newsdir_lock)
del path