]> code.delx.au - offlineimap/commitdiff
Revert "Initial stab at showing list of folders that aren't being synced"
authorJohn Goerzen <jgoerzen@complete.org>
Tue, 20 May 2008 06:38:42 +0000 (01:38 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Tue, 20 May 2008 06:38:42 +0000 (01:38 -0500)
This reverts commit fa766b61bcf5dcc1f241c96521b56304a0e3ba11.

Not going to follow this path right now

offlineimap/repository/Base.py

index ec56d61f74063265e7a9e5ff4b7867aae5226470..ed07b572b87872e3749a9e3ee0eddae90d7cfde1 100644 (file)
@@ -17,7 +17,6 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
 from offlineimap import CustomConfig
-from offlineimap.ui import UIBase
 import os.path
 
 def LoadRepository(name, account, reqtype):
@@ -165,17 +164,6 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
         #for key in desthash.keys():
         #    if not key in srchash:
         #        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