X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fconfig.py;h=b8b18726d0ff48cd73941d365b915a5910833bbd;hp=f91377153cd9b677543b5adca4a96cd0da092fe8;hb=609cd533bfaa74a876eb47d61e0998da592a6193;hpb=3c68878ef4063449f4d3168558647f15a7f13b3b diff --git a/sface/config.py b/sface/config.py index f913771..b8b1872 100644 --- a/sface/config.py +++ b/sface/config.py @@ -183,15 +183,15 @@ class Config: def getSliceRSpecFile(self): return self.fullpath("%s.rspec" % self.getSlice()) + def getResourcesRSpecFile(self): return self.fullpath("resources.rspec") + def getSliceRecordFile(self): return self.fullpath ("%s.record" % self.getSlice()) + def getUserRecordFile(self): return self.fullpath ("%s.record" % self.getUser()) + def getAuthorityRecordFile(self): return self.fullpath ("%s/%s.record" % self.getAuthority()) - def getAuthorityListFile(self, i=None): - 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 getAuthorityListFile(self): return self.fullpath ("%s_list.xml" % self.getAuthority()) # configuration singleton