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:53:51 +0100
commitd8c2b4084596ed8537f923909272b7d515aec48f (patch)
tree755d442cb8beb47072299b1bf0e6ba263f54bc05
parent5fe434b0ad8760b90a8ecddfec925e19f8ecf238 (diff)
downloadpykolab-d8c2b4084596ed8537f923909272b7d515aec48f.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)