Setting tag sface-0.1-20
[sface.git] / sface / config.py
index 8333312..b8b1872 100644 (file)
@@ -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