X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fconfig.py;h=b8b18726d0ff48cd73941d365b915a5910833bbd;hp=833331296d30f0dda1f5ecaf7581330388ebd54f;hb=609cd533bfaa74a876eb47d61e0998da592a6193;hpb=dc5a4a16b0819bc27efd1f77d632a76463db82c0 diff --git a/sface/config.py b/sface/config.py index 8333312..b8b1872 100644 --- 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 getAuthorityRecordFile(self): return self.fullpath ("%s/%s.record" % self.getAuthority()) + def getUserRecordFile(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