summaryrefslogtreecommitdiffstats
path: root/pykolab/auth
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 23:04:58 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-09 23:04:58 +0000
commit7f4f1cb996ad2a45700f7f41b56a613235636305 (patch)
treed4ed257077cc966a3e457b426bfe8977dcbee001 /pykolab/auth
parent1644d783d2b86ac4b2386fd7c2351b743c8960d6 (diff)
downloadpykolab-7f4f1cb996ad2a45700f7f41b56a613235636305.tar.gz
Comment out a section of code that should include some debug statements rather then "print" statements
Diffstat (limited to 'pykolab/auth')
-rw-r--r--pykolab/auth/__init__.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/pykolab/auth/__init__.py b/pykolab/auth/__init__.py
index 1354ed8..33084d4 100644
--- a/pykolab/auth/__init__.py
+++ b/pykolab/auth/__init__.py
@@ -58,13 +58,15 @@ class Auth(object):
# to use virtual_domains, as this may be a cause for the realm not
# having been specified seperately.
use_virtual_domains = conf.get('imap', 'virtual_domains')
- if use_virtual_domains == "userid":
- print "# Derive domain from login[0]"
- elif not use_virtual_domains:
- print "# Explicitly do not user virtual domains??"
- else:
- # Do use virtual domains, derive domain from login[0]
- print "# Derive domain from login[0]"
+
+ # TODO: Insert debug statements
+ #if use_virtual_domains == "userid":
+ #print "# Derive domain from login[0]"
+ #elif not use_virtual_domains:
+ #print "# Explicitly do not user virtual domains??"
+ #else:
+ ## Do use virtual domains, derive domain from login[0]
+ #print "# Derive domain from login[0]"
if len(login[0].split('@')) > 1:
domain = login[0].split('@')[1]