From: Barış Metin Date: Mon, 25 May 2009 15:52:08 +0000 (+0000) Subject: add basepath to be the directory name of the configuration file as requested by sever... X-Git-Tag: sfa-0.9-0@14641~365 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6db0c6dc85876673b06cf81e4b4e948e0e0515d1;p=sfa.git add basepath to be the directory name of the configuration file as requested by several modules. --- diff --git a/geni/util/config.py b/geni/util/config.py index 8970a82a..90aee0d0 100644 --- a/geni/util/config.py +++ b/geni/util/config.py @@ -33,6 +33,7 @@ class Config: loaded = False path = os.path.dirname(os.path.abspath(__file__)) self.path = path + self.basepath = os.path.dirname(self.path) filename = file.split(os.sep)[-1] alt_file = path + os.sep + 'util' + os.sep + filename geni_file = geni + os.sep + 'util' + os.sep + filename