From: Alec Warner Date: Thu, 18 Jan 2007 20:03:09 +0000 (-0000) Subject: don't force a comparison X-Git-Tag: v2.1.2-r3~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f02fdec61d2c66f433e33ce49e06dc2ebf470afc;p=portage.git don't force a comparison svn path=/main/trunk/; revision=5710 --- 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