summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-08 10:53:51 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-02-08 10:54:25 +0100
commit39a558f87ce383b05908ed4fe8f13a4c4e030999 (patch)
tree8c5794b7794383e591fb30f64632a5f0d29d3122
parent5a05e02bb54bf36e76c004ed732e0f5728869045 (diff)
downloadpykolab-39a558f87ce383b05908ed4fe8f13a4c4e030999.tar.gz
Correct the import location to prevent looping stacked imports
-rw-r--r--pykolab/imap/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index 0494541..b00b916 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -27,7 +27,6 @@ from urlparse import urlparse
import pykolab
from pykolab import utils
-from pykolab.auth import Auth
from pykolab.translate import _
log = pykolab.getLogger('pykolab.imap')
@@ -534,6 +533,7 @@ class IMAP(object):
)
else:
+ from pykolab.auth import Auth
auth = Auth()
auth.connect()
domains = auth._list_domains(self.domain)