Index: news.py =================================================================== --- news.py (revision 9458) +++ news.py (working copy) @@ -89,6 +89,7 @@ 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):