summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-03-11 00:52:20 +0000
committerNed Ludd <solar@gentoo.org>2008-03-11 00:52:20 +0000
commitf11c17868e245fa9a00b90ef828256362c0aed67 (patch)
treed651353ae28f17a51b95d3329cfbfc7d833e1070
parentab731d82e67facaf97078866fbdc91de0e43c5f1 (diff)
downloadportage-f11c17868e245fa9a00b90ef828256362c0aed67.tar.gz
portage-f11c17868e245fa9a00b90ef828256362c0aed67.tar.bz2
portage-f11c17868e245fa9a00b90ef828256362c0aed67.zip
- news bugfix from ferringb
svn path=/main/trunk/; revision=9459
-rw-r--r--pym/portage/news.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/news.py b/pym/portage/news.py
index fe78c6d45..dd90f40d3 100644
--- a/pym/portage/news.py
+++ b/pym/portage/news.py
@@ -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):