From aec8da1de7e27d748128ade4fc1cac7799fc3f27 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 20 May 2009 19:17:48 +0000 Subject: [PATCH] fix 'authorities' path --- geni/util/hierarchy.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/geni/util/hierarchy.py b/geni/util/hierarchy.py index 03d71462..742ab8bf 100644 --- a/geni/util/hierarchy.py +++ b/geni/util/hierarchy.py @@ -104,11 +104,10 @@ class Hierarchy(): # @param basedir the base directory to store the hierarchy in def __init__(self, basedir = None): - config = Config() if not basedir: - basedir = config.GENI_BASE_DIR + os.sep + 'geni' + os.sep - self.basedir = os.path.join(basedir, "authorities") - + config = Config() + basedir = config.basepath + os.sep + "authorities" + self.basedir = basedir ## # Given a hrn, return the filenames of the GID, private key, and dbinfo # files. -- 2.43.0