From 29330e2634b6f42c47c967b9826e7b038f7b5762 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 20 May 2009 19:17:20 +0000 Subject: [PATCH] fix trusted_roots path --- geni/util/trustedroot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.43.0