Revert "Initial stab at showing list of folders that aren't being synced"
This reverts commit fa766b61bc
.
Not going to follow this path right now
This commit is contained in:
parent
6790c94869
commit
3c7edc2e4d
@ -17,7 +17,6 @@
|
|||||||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
from offlineimap import CustomConfig
|
from offlineimap import CustomConfig
|
||||||
from offlineimap.ui import UIBase
|
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
def LoadRepository(name, account, reqtype):
|
def LoadRepository(name, account, reqtype):
|
||||||
@ -166,17 +165,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
|
|||||||
# if not key in srchash:
|
# if not key in srchash:
|
||||||
# dest.deletefolder(key)
|
# dest.deletefolder(key)
|
||||||
|
|
||||||
|
|
||||||
##### Find any folders that aren't being synced
|
|
||||||
ignoredfolders = []
|
|
||||||
for key in desthash.keys():
|
|
||||||
if not key in srchash:
|
|
||||||
ignoredfolders.append(key)
|
|
||||||
|
|
||||||
ignoredfolders.sort()
|
|
||||||
if ignoredfolders != []:
|
|
||||||
UIBase.getglobalui().warn("Found local folders that are not being synced: %s" % (", ".join(ignoredfolders)))
|
|
||||||
|
|
||||||
##### Keepalive
|
##### Keepalive
|
||||||
|
|
||||||
def startkeepalive(self):
|
def startkeepalive(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user