Base.py removed unused pass

This patch removes these pass calls, because we have the docstrings and then we don't need include it.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-11-01 09:49:28 +01:00
parent 20e3323718
commit e25bd7b48b

View File

@ -73,8 +73,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
False), applies only to local Maildir mailboxes and does nothing False), applies only to local Maildir mailboxes and does nothing
on all other repository types.""" on all other repository types."""
pass
def connect(self): def connect(self):
"""Establish a connection to the remote, if necessary. This exists """Establish a connection to the remote, if necessary. This exists
so that IMAP connections can all be established up front, gathering so that IMAP connections can all be established up front, gathering
@ -83,8 +81,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
trap in order to validate the password, and that's the point of trap in order to validate the password, and that's the point of
this function.""" this function."""
pass
def holdordropconnections(self): def holdordropconnections(self):
""" """
Hold the drop connections functions. Hold the drop connections functions.
@ -92,7 +88,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
Returns: None Returns: None
""" """
pass
def dropconnections(self): def dropconnections(self):
""" """
@ -101,7 +96,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
Returns: None Returns: None
""" """
pass
def getaccount(self): def getaccount(self):
""" """
@ -180,8 +174,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
"""Forgets the cached list of folders, if any. Useful to run """Forgets the cached list of folders, if any. Useful to run
after a sync run.""" after a sync run."""
pass
def getsep(self): def getsep(self):
""" """
Get the separator. Get the separator.
@ -372,14 +364,10 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
def startkeepalive(self): def startkeepalive(self):
"""The default implementation will do nothing.""" """The default implementation will do nothing."""
pass
def stopkeepalive(self): def stopkeepalive(self):
"""Stop keep alive, but don't bother waiting """Stop keep alive, but don't bother waiting
for the threads to terminate.""" for the threads to terminate."""
pass
def getlocalroot(self): def getlocalroot(self):
""" Local root folder for storing messages. """ Local root folder for storing messages.
Will not be set for remote repositories.""" Will not be set for remote repositories."""