1 |
Author: grobian |
2 |
Date: 2008-06-23 15:36:44 +0000 (Mon, 23 Jun 2008) |
3 |
New Revision: 10765 |
4 |
|
5 |
Modified: |
6 |
main/branches/prefix/bin/repoman |
7 |
Log: |
8 |
Use paths from portage.const instead of hardcoded versions (which don't match in Prefix). Please merge this in trunk. |
9 |
|
10 |
Modified: main/branches/prefix/bin/repoman |
11 |
=================================================================== |
12 |
--- main/branches/prefix/bin/repoman 2008-06-23 10:00:12 UTC (rev 10764) |
13 |
+++ main/branches/prefix/bin/repoman 2008-06-23 15:36:44 UTC (rev 10765) |
14 |
@@ -416,10 +416,10 @@ |
15 |
Doesn't return (invokes sys.exit() |
16 |
""" |
17 |
#Retrieve and unpickle stats and fails from saved files |
18 |
- savedf=open('/var/cache/edb/repo.stats','r') |
19 |
+ savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.stats'),'r') |
20 |
stats = pickle.load(savedf) |
21 |
savedf.close() |
22 |
- savedf=open('/var/cache/edb/repo.fails','r') |
23 |
+ savedf=open(os.path.join(portage.const.CACHE_PATH, 'repo.fails'),'r') |
24 |
fails = pickle.load(savedf) |
25 |
savedf.close() |
26 |
|
27 |
|
28 |
-- |
29 |
gentoo-commits@l.g.o mailing list |