GmailMaildir.py Removed parent class for super call

The super() call in Python 3 does not need the parent class. The MRO get it.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-11-01 09:06:35 +01:00
parent caea1b7baa
commit 5f338454ee

View File

@ -29,8 +29,7 @@ class GmailMaildirRepository(MaildirRepository):
def __init__(self, reposname, account): def __init__(self, reposname, account):
"""Initialize a MaildirRepository object. Takes a path name """Initialize a MaildirRepository object. Takes a path name
to the directory holding all the Maildir directories.""" to the directory holding all the Maildir directories."""
super().__init__(reposname, account)
super(GmailMaildirRepository, self).__init__(reposname, account)
def getfoldertype(self): def getfoldertype(self):
return GmailMaildirFolder return GmailMaildirFolder