From e25bd7b48b60f4da94366f32dbb69b5ffcd6855c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sun, 1 Nov 2020 09:49:28 +0100 Subject: [PATCH] Base.py removed unused pass This patch removes these pass calls, because we have the docstrings and then we don't need include it. --- offlineimap/repository/Base.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/offlineimap/repository/Base.py b/offlineimap/repository/Base.py index 99d6e66..459fa1b 100644 --- a/offlineimap/repository/Base.py +++ b/offlineimap/repository/Base.py @@ -73,8 +73,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): False), applies only to local Maildir mailboxes and does nothing on all other repository types.""" - pass - def connect(self): """Establish a connection to the remote, if necessary. This exists 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 this function.""" - pass - def holdordropconnections(self): """ Hold the drop connections functions. @@ -92,7 +88,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): Returns: None """ - pass def dropconnections(self): """ @@ -101,7 +96,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): Returns: None """ - pass def getaccount(self): """ @@ -180,8 +174,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): """Forgets the cached list of folders, if any. Useful to run after a sync run.""" - pass - def getsep(self): """ Get the separator. @@ -372,14 +364,10 @@ class BaseRepository(CustomConfig.ConfigHelperMixin): def startkeepalive(self): """The default implementation will do nothing.""" - pass - def stopkeepalive(self): """Stop keep alive, but don't bother waiting for the threads to terminate.""" - pass - def getlocalroot(self): """ Local root folder for storing messages. Will not be set for remote repositories."""