Maildir removed extra slash

This slash should be removed. I also join the lines.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 10:57:42 +02:00
parent c64275d27d
commit a186f65444

View File

@ -200,8 +200,7 @@ class MaildirRepository(BaseRepository):
if self.getsep() == '/' and dirname != '': if self.getsep() == '/' and dirname != '':
# Recursively check sub-directories for folders too. # Recursively check sub-directories for folders too.
retval.extend(self._getfolders_scandir(root, foldername)) retval.extend(self._getfolders_scandir(root, foldername))
self.debug("_GETFOLDERS_SCANDIR RETURNING %s" % \ self.debug("_GETFOLDERS_SCANDIR RETURNING %s" % repr([x.getname() for x in retval]))
repr([x.getname() for x in retval]))
return retval return retval
def getfolders(self): def getfolders(self):