added self.path
authorTony Mack <tmack@cs.princeton.edu>
Tue, 19 May 2009 17:07:37 +0000 (17:07 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 19 May 2009 17:07:37 +0000 (17:07 +0000)
geni/util/config.py

index a45bb68..8970a82 100644 (file)
@@ -32,6 +32,7 @@ class Config:
 
         loaded = False
         path = os.path.dirname(os.path.abspath(__file__))
+        self.path = 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