but news lib path is global, not an attr
authorAlec Warner <antarus@gentoo.org>
Thu, 18 Jan 2007 17:39:15 +0000 (17:39 -0000)
committerAlec Warner <antarus@gentoo.org>
Thu, 18 Jan 2007 17:39:15 +0000 (17:39 -0000)
svn path=/main/trunk/; revision=5705

pym/portage_news.py

index 5cbb7c1a350b2c0b0061c6b37ce4716c9ce44ee4..e2b7346498b560b65b6cbb98713a73887cb7d585 100644 (file)
@@ -29,7 +29,7 @@ class NewsManager(object):
        def __init__( self, root, NEWS_PATH, UNREAD_PATH, LANGUAGE_ID='en' ):
                self.NEWS_PATH = NEWS_PATH
                self.UNREAD_PATH = UNREAD_PATH
-               self.TIMESTAMP_PATH = os.path.join( root, self.NEWS_PATH, NewsManager.TIMESTAMP_FILE )
+               self.TIMESTAMP_PATH = os.path.join( root, NEWS_LIB_PATH, NewsManager.TIMESTAMP_FILE )
                self.target_root = root
                self.LANGUAGE_ID = LANGUAGE_ID
                self.config = config( config_root = os.environ.get("PORTAGE_CONFIGROOT", "/"),