/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):
|
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)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user