/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):
retval = []
for folder in os.listdir(self.directory):
retval.append(folder.LocalStatus.LocalStatusFolder(\
self.getfolderfilename(folder)))
retval.append(folder.LocalStatus.LocalStatusFolder(self.directory,
folder))
return retval
def getfolder(self, foldername):
return folder.LocalStatus.LocalStatusFolder(self.getfolderfilename(foldername))
return folder.LocalStatus.LocalStatusFolder(self.directory, foldername)