From aab627d6267abc6c6062c83bf2284403d97f8077 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 23 Jun 2008 15:36:44 +0000 Subject: [PATCH] Use paths from portage.const instead of hardcoded versions (which don't match in Prefix). Please merge this in trunk. svn path=/main/branches/prefix/; revision=10765 --- bin/repoman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/repoman b/bin/repoman index 693c7a4a8..ce3f20235 100755 --- a/bin/repoman +++ b/bin/repoman @@ -416,10 +416,10 @@ def last(full=False): Doesn't return (invokes sys.exit() """ #Retrieve and unpickle stats and fails from saved files - savedf=open('/var/cache/edb/repo.stats','r') + savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.stats'),'r') stats = pickle.load(savedf) savedf.close() - savedf=open('/var/cache/edb/repo.fails','r') + savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.fails'),'r') fails = pickle.load(savedf) savedf.close() -- 2.26.2