git://git.onelab.eu
/
sface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sface
[sface.git]
/
sface
/
config.py
diff --git
a/sface/config.py
b/sface/config.py
index
8333312
..
b8b1872
100644
(file)
--- a/
sface/config.py
+++ b/
sface/config.py
@@
-187,17
+187,11
@@
class Config:
def getSliceRecordFile(self): return self.fullpath ("%s.record" % self.getSlice())
def getSliceRecordFile(self): return self.fullpath ("%s.record" % self.getSlice())
- def get
AuthorityRecordFile(self): return self.fullpath ("%s/%s.record" % self.getAuthority
())
+ def get
UserRecordFile(self): return self.fullpath ("%s.record" % self.getUser
())
- def getAuthorityListRecordFile(self, i=None):
- # DEPRECATED
- if (i != None) and (i != 0):
- return self.fullpath ("%s_list.record.%d" % (self.getAuthority(),i))
- else:
- return self.fullpath ("%s_list.record" % self.getAuthority())
+ def getAuthorityRecordFile(self): return self.fullpath ("%s/%s.record" % self.getAuthority())
- def getAuthorityListFile(self):
- return self.fullpath ("%s_list.xml" % self.getAuthority())
+ def getAuthorityListFile(self): return self.fullpath ("%s_list.xml" % self.getAuthority())
# configuration singleton
# configuration singleton