diff options
-rw-r--r-- | docs/mail/hacking.rst | 6 | ||||
-rw-r--r-- | src/leap/bitmask/mail/imap/mailbox.py | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/docs/mail/hacking.rst b/docs/mail/hacking.rst index 10e3dbc..2a4e6d3 100644 --- a/docs/mail/hacking.rst +++ b/docs/mail/hacking.rst @@ -17,12 +17,6 @@ capabities:: ``--profiler`` option allows you to select different profilers (default is "hotshot"). -You can also do profiling when using the ``bitmask`` client. Enable the -``LEAP_PROFILE_IMAPCMD`` environment flag to get profiling of certain IMAP -commands:: - - LEAP_PROFILE_IMAPCMD=1 bitmask --debug - Mutt config ------------ diff --git a/src/leap/bitmask/mail/imap/mailbox.py b/src/leap/bitmask/mail/imap/mailbox.py index 3a1e8c1..f74910f 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. |