git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9263ee
)
fix trusted_roots path
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 May 2009 19:17:20 +0000
(19:17 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 20 May 2009 19:17:20 +0000
(19:17 +0000)
geni/util/trustedroot.py
patch
|
blob
|
history
diff --git
a/geni/util/trustedroot.py
b/geni/util/trustedroot.py
index
c757907
..
67ad129
100644
(file)
--- a/
geni/util/trustedroot.py
+++ b/
geni/util/trustedroot.py
@@
-7,9
+7,9
@@
class TrustedRootList():
def __init__(self, dir=None):
if not dir:
config = Config()
-
self.basedir = config.
path + os.sep + 'trusted_roots'
- else:
- self.basedir = dir
+
dir = config.base
path + os.sep + 'trusted_roots'
+ self.basedir = dir
+
# create the directory to hold the files
try:
os.makedirs(self.basedir)
\r