summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/fetch.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-22 11:27:44 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-22 11:27:44 -0300
commit79971e7c2b26e0dd34462aae8c732029c2701cd9 (patch)
treeca83b5b9ef76f87c814f08c434dba49ce4573393 /src/leap/mail/imap/fetch.py
parent1386a8644b1c215b403bc17745fbac4549a76226 (diff)
parent8d19e79b9e946209973a2efb87843a4ea3f47b7d (diff)
Merge remote-tracking branch 'kali/feature/3409_make_imap_fetch_period_configurable' into develop
Diffstat (limited to 'src/leap/mail/imap/fetch.py')
-rw-r--r--src/leap/mail/imap/fetch.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/mail/imap/fetch.py b/src/leap/mail/imap/fetch.py
index 802ce26..2b25d82 100644
--- a/src/leap/mail/imap/fetch.py
+++ b/src/leap/mail/imap/fetch.py
@@ -102,7 +102,6 @@ class LeapIncomingMail(object):
Calls a deferred that will execute the fetch callback
in a separate thread
"""
- logger.debug('fetching mail...')
d = deferToThread(self._sync_soledad)
d.addCallbacks(self._process_doclist, self._sync_soledad_err)
return d
@@ -123,7 +122,6 @@ class LeapIncomingMail(object):
def _sync_soledad(self):
log.msg('syncing soledad...')
- logger.debug('in soledad sync')
try:
self._soledad.sync()
@@ -210,6 +208,7 @@ class LeapIncomingMail(object):
return False
logger.debug('got incoming message: %s' % (rawmsg,))
+ # XXX factor out gpg bits.
try:
pgp_beg = "-----BEGIN PGP MESSAGE-----"
pgp_end = "-----END PGP MESSAGE-----"