Projects
Kolab:16
pykolab
0001-Use-the-correct-constants-import-and-__ver...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Use-the-correct-constants-import-and-__version__-val.patch of Package pykolab (Revision 10)
Currently displaying revision
10
,
Show latest
From f251c62827c1696dd2e0369800c82cc569c57011 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Fri, 1 Jul 2016 16:31:50 +0200 Subject: [PATCH 1/2] Use the correct constants import and __version__ value from it --- pykolab/imap/cyrus.py | 4 ++-- 1 file 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') -- 2.5.5
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.