From f02fdec61d2c66f433e33ce49e06dc2ebf470afc Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Thu, 18 Jan 2007 20:03:09 +0000 Subject: [PATCH] don't force a comparison svn path=/main/trunk/; revision=5710 --- pym/portage_news.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2