summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/imap/account.py
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-10-13 12:08:46 -0300
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-17 19:38:21 -0400
commitc8eba064959310e44bdc2a4f0df49a534e761d04 (patch)
tree8d5e30031d291c1db78a746b1941e25514c1e01d /src/leap/bitmask/mail/imap/account.py
parentc1fdf7dfa3ba6f7eeca2a1f980ab4a68da735654 (diff)
[bug] use twisted.logger and fix logging namespace
Diffstat (limited to 'src/leap/bitmask/mail/imap/account.py')
-rw-r--r--src/leap/bitmask/mail/imap/account.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/mail/imap/account.py b/src/leap/bitmask/mail/imap/account.py
index 8ee0cbfa..63d214e4 100644
--- a/src/leap/bitmask/mail/imap/account.py
+++ b/src/leap/bitmask/mail/imap/account.py
@@ -24,7 +24,6 @@ from functools import partial
from twisted.internet import defer
from twisted.logger import Logger
from twisted.mail import imap4
-from twisted.logger import Logger
from zope.interface import implements
from leap.common.check import leap_assert, leap_assert_type
@@ -40,7 +39,7 @@ PROFILE_CMD = os.environ.get('LEAP_PROFILE_IMAPCMD', False)
if PROFILE_CMD:
def _debugProfiling(result, cmdname, start):
took = (time.time() - start) * 1000
- log.msg("CMD " + cmdname + " TOOK: " + str(took) + " msec")
+ logger.debug("CMD " + cmdname + " TOOK: " + str(took) + " msec")
return result