/head: changeset 30
Updated to use new init for LocalStatusFolder
This commit is contained in:
parent
44d35c26e0
commit
e26f2da99f
@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user