bundled_imaplib2.py Do not make object inheritance

This patch removes these lintian warnings:

Warning R0205: Class 'X' inherits from object,
can be safely removed from bases in python3 (useless-object-inheritance)
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 10:48:53 +02:00
parent 3fafc3a46d
commit c64275d27d

View File

@ -150,7 +150,7 @@ def Int2AP(num):
return val
class Request(object):
class Request():
"""Private class to represent a request awaiting response."""
def __init__(self, parent, name=None, callback=None, cb_arg=None, cb_self=False):
@ -197,7 +197,7 @@ class Request(object):
if __debug__: self.parent._log(3, '%s:%s.ready.set' % (self.name, self.tag))
class IMAP4(object):
class IMAP4():
"""Threaded IMAP4 client class.
Instantiate with:
@ -2123,7 +2123,7 @@ class IMAP4_stream(IMAP4):
self._P.wait()
class _Authenticator(object):
class _Authenticator():
"""Private class to provide en/de-coding
for base64 authentication conversation."""
@ -2166,7 +2166,7 @@ class _Authenticator(object):
return binascii.a2b_base64(inp)
class _IdleCont(object):
class _IdleCont():
"""When process is called, server is in IDLE state
and will send asynchronous changes."""