summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-07-01 16:31:50 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-07-01 16:31:50 +0200
commitf251c62827c1696dd2e0369800c82cc569c57011 (patch)
treec24d6acbf259169928847ab1cac3385eb6f3c7de
parent0a017f60ae9d7e6605b028a1e1ea511e06b39b81 (diff)
downloadpykolab-f251c62827c1696dd2e0369800c82cc569c57011.tar.gz
Use the correct constants import and __version__ value from it
-rw-r--r--pykolab/imap/cyrus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index 63b0615..2057a38 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -25,7 +25,7 @@ from urlparse import urlparse
import pykolab
-from pykolab.constants import *
+from pykolab import constants
from pykolab.imap import IMAP
from pykolab.translate import _
@@ -278,7 +278,7 @@ class Cyrus(cyruslib.CYRUS):
def _id(self, identity=None):
if identity is None:
- identity = '("name" "Python/Kolab" "version" "%s")' % (__version__)
+ identity = '("name" "Python/Kolab" "version" "%s")' % (constants.__version__)
typ, dat = self.m._simple_command('ID', identity)
res, dat = self.m._untagged_response(typ, dat, 'ID')