summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-18 17:39:15 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-18 17:39:15 +0000
commita69dadbf7987b7a942d053f1f9c811840c308568 (patch)
treecd23416de27d9bb7ff10013501a86f84f9bc2055 /pym/portage_news.py
parentI really meant NEWS_LIB_PATH (/var/lib/gentoo) but decent idea to have a time... (diff)
downloadportage-idfetch-a69dadbf7987b7a942d053f1f9c811840c308568.tar.gz
portage-idfetch-a69dadbf7987b7a942d053f1f9c811840c308568.tar.bz2
portage-idfetch-a69dadbf7987b7a942d053f1f9c811840c308568.zip
but news lib path is global, not an attr
svn path=/main/trunk/; revision=5705
Diffstat (limited to 'pym/portage_news.py')
-rw-r--r--pym/portage_news.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_news.py b/pym/portage_news.py
index 5cbb7c1a..e2b73464 100644
--- a/pym/portage_news.py
+++ b/pym/portage_news.py
@@ -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", "/"),