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:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Rodolfo García Peñas (kix)
					Rodolfo García Peñas (kix)