summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-05-01 13:35:04 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-01 16:25:15 +0200
commit2ec7cc559846327439ba4c44dec0c3507d0d703e (patch)
treeca973c76e917e756c532acd2e4ef21cdeabe6841 /src/leap
parentd7c9738f2a6596de5e603915ae4d370f4b771c04 (diff)
[bug] remove remanents of IMAP profiling code
- Resolves: #8870
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/mail/imap/mailbox.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py
index 3a1e8c10..f74910f9 100644
--- a/src/leap/bitmask/mail/imap/mailbox.py
+++ b/src/leap/bitmask/mail/imap/mailbox.py
@@ -645,8 +645,6 @@ class IMAPMailbox(object):
d = defer.Deferred()
reactor.callLater(0, self._do_fetch_flags, messages_asked, uid, d)
- if PROFILE_CMD:
- do_profile_cmd(d, "FETCH-ALL-FLAGS")
return d
def _do_fetch_flags(self, messages_asked, uid, d):
@@ -889,9 +887,6 @@ class IMAPMailbox(object):
uid when the copy succeed.
:rtype: Deferred
"""
- # if PROFILE_CMD:
- # do_profile_cmd(d, "COPY")
-
# A better place for this would be the COPY/APPEND dispatcher
# in server.py, but qtreactor hangs when I do that, so this seems
# to work fine for now.