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