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-29 21:44:18 +02:00
parent ddfc2a766c
commit e77440552c
16 changed files with 27 additions and 27 deletions

View File

@ -42,7 +42,7 @@ except ImportError:
have_gss = False
class IMAPServer(object):
class IMAPServer():
"""Initializes all variables from an IMAPRepository() instance
Various functions, such as acquireconnection() return an IMAP4
@ -770,7 +770,7 @@ class IMAPServer(object):
self.semaphore.release()
class IdleThread(object):
class IdleThread():
def __init__(self, parent, folder=None):
"""If invoked without 'folder', perform a NOOP and wait for
self.stop() to be called. If invoked with folder, switch to IDLE