/head: changeset 30

Updated to use new init for LocalStatusFolder
This commit is contained in:
jgoerzen 2002-06-21 04:40:58 +01:00
parent 44d35c26e0
commit e26f2da99f

View File

@ -41,12 +41,13 @@ class LocalStatusRepository(BaseRepository):
def getfolders(self): def getfolders(self):
retval = [] retval = []
for folder in os.listdir(self.directory): for folder in os.listdir(self.directory):
retval.append(folder.LocalStatus.LocalStatusFolder(\ retval.append(folder.LocalStatus.LocalStatusFolder(self.directory,
self.getfolderfilename(folder))) folder))
return retval return retval
def getfolder(self, foldername): def getfolder(self, foldername):
return folder.LocalStatus.LocalStatusFolder(self.getfolderfilename(foldername)) return folder.LocalStatus.LocalStatusFolder(self.directory, foldername)