From: Tony Mack Date: Wed, 20 May 2009 19:17:20 +0000 (+0000) Subject: fix trusted_roots path X-Git-Tag: sfa-0.9-0@14641~377 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=29330e2634b6f42c47c967b9826e7b038f7b5762;p=sfa.git fix trusted_roots path --- diff --git a/geni/util/trustedroot.py b/geni/util/trustedroot.py index c7579078..67ad1292 100644 --- 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.basepath + os.sep + 'trusted_roots' + self.basedir = dir + # create the directory to hold the files try: os.makedirs(self.basedir)