summaryrefslogtreecommitdiffstats
path: root/pykolab/imap
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 14:46:25 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-08 14:46:25 +0100
commita9adfa55489f5985f03273e99560218c5a267a13 (patch)
tree417e8bebe4a614caa4eb0af9491f8e27448400b5 /pykolab/imap
parent996d7a9a433ac7290fecb5bf342361784de810f1 (diff)
downloadpykolab-a9adfa55489f5985f03273e99560218c5a267a13.tar.gz
Use current_server, not server, as server is undefined in this context
Diffstat (limited to 'pykolab/imap')
-rw-r--r--pykolab/imap/cyrus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index 7872c6e..2a40116 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -201,7 +201,7 @@ class Cyrus(cyruslib.CYRUS):
imap.setannotation(mailfolder, annotation, value)
def _xfer(self, mailfolder, current_server, new_server):
- imap.connect(self.uri.replace(self.server,server))
+ imap.connect(self.uri.replace(self.server,current_server))
log.debug(_("Transferring folder %s from %s to %s") % (mailfolder, current_server, new_server), level=8)
imap.xfer(mailfolder, new_server)