Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16743687
D92.id187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
954 B
Referenced Files
None
Subscribers
None
D92.id187.diff
View Options
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -372,11 +372,11 @@
self.xfer(mailfolder, new_server)
def undelete_mailfolder(
- self,
- mailfolder,
- to_mailfolder=None,
- recursive=True
- ):
+ self,
+ mailfolder,
+ to_mailfolder=None,
+ recursive=True
+ ):
"""
Login to the actual backend server, then "undelete" the mailfolder.
@@ -458,7 +458,7 @@
target_server = self.find_mailfolder_server(target_folder)
if hasattr(conf, 'dry_run') and not conf.dry_run:
- if not target_server == self.server:
+ if target_server is not self.server:
self.xfer(undelete_folder, target_server)
self.rename(undelete_folder, target_folder)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 1:29 PM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10186785
Default Alt Text
D92.id187.diff (954 B)
Attached To
Mode
D92: Show ID to pass #Guam groupware folder filtering rulesets
Attached
Detach File
Event Timeline
Log In to Comment