- news bugfix from ferringb
authorNed Ludd <solar@gentoo.org>
Tue, 11 Mar 2008 00:52:20 +0000 (00:52 -0000)
committerNed Ludd <solar@gentoo.org>
Tue, 11 Mar 2008 00:52:20 +0000 (00:52 -0000)
svn path=/main/trunk/; revision=9459

pym/portage/news.py

index fe78c6d45aae7375ee0cbd9197daa837474ec65f..dd90f40d30350c1aaee3b45861bfc169f5469803 100644 (file)
@@ -89,6 +89,7 @@ class NewsManager(object):
                del path
                
                path = os.path.join(self.unread_path, 'news-%s.unread' % repoid)
+               unread_lock = None
                try:
                        unread_lock = lockfile(path)
                        if not os.path.exists(path):