From 6db0c6dc85876673b06cf81e4b4e948e0e0515d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 25 May 2009 15:52:08 +0000 Subject: [PATCH] add basepath to be the directory name of the configuration file as requested by several modules. --- geni/util/config.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.43.0