git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734b44c
)
fixed basepath
author
Tony Mack
<tmack@cs.princeton.edu>
Tue, 26 May 2009 16:27:06 +0000
(16:27 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Tue, 26 May 2009 16:27:06 +0000
(16:27 +0000)
geni/util/config.py
patch
|
blob
|
history
diff --git
a/geni/util/config.py
b/geni/util/config.py
index
90aee0d
..
4de16b9
100644
(file)
--- a/
geni/util/config.py
+++ b/
geni/util/config.py
@@
-33,7
+33,7
@@
class Config:
loaded = False
path = os.path.dirname(os.path.abspath(__file__))
self.path = path
- self.basepath = os.
path.dirname(self.path
)
+ self.basepath = os.
sep.join(self.path.split(os.sep)[:-1]
)
filename = file.split(os.sep)[-1]
alt_file = path + os.sep + 'util' + os.sep + filename
geni_file = geni + os.sep + 'util' + os.sep + filename