X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fconfig.py;h=c475e7696a485ca48e2ae7b82aa6f4512405998e;hp=f91377153cd9b677543b5adca4a96cd0da092fe8;hb=021a306d360da13a927d1c1d5811a205b09319b8;hpb=3c68878ef4063449f4d3168558647f15a7f13b3b diff --git a/sface/config.py b/sface/config.py index f913771..c475e76 100644 --- a/sface/config.py +++ b/sface/config.py @@ -183,15 +183,14 @@ 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 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