don't force a comparison
authorAlec Warner <antarus@gentoo.org>
Thu, 18 Jan 2007 20:03:09 +0000 (20:03 -0000)
committerAlec Warner <antarus@gentoo.org>
Thu, 18 Jan 2007 20:03:09 +0000 (20:03 -0000)
svn path=/main/trunk/; revision=5710

pym/portage_news.py

index a20241b319f935ea28de7165d561a541971a5a2f..d3e5ea4f73a5be392a25fac52df9031b34353ff6 100644 (file)
@@ -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