diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-02-05 18:17:50 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-02-05 18:17:50 -0300 |
commit | b887115370795f514c66bdc9c034acd3fb3c4376 (patch) | |
tree | 112a7c62db681d7025d982a37ac874bb13d82a82 /src/leap/mail/imap/memorystore.py | |
parent | 621fd3a9099f980fa4d0a2402713e1778913d489 (diff) | |
parent | bf9db4b5381230b4e2a1e1d2d4b2acc31c29ff87 (diff) |
Merge remote-tracking branch 'refs/remotes/kali/bug/fix-fetch-bodies' into develop
Diffstat (limited to 'src/leap/mail/imap/memorystore.py')
-rw-r--r-- | src/leap/mail/imap/memorystore.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/leap/mail/imap/memorystore.py b/src/leap/mail/imap/memorystore.py index f4a4522..9c7973d 100644 --- a/src/leap/mail/imap/memorystore.py +++ b/src/leap/mail/imap/memorystore.py @@ -230,10 +230,11 @@ class MemoryStore(object): self._add_message(mbox, uid, message, notify_on_disk) self._new.add(key) - def log_add(result): - log.msg("message save: %s" % result) - return result - observer.addCallback(log_add) + # XXX use this while debugging the callback firing, + # remove after unittesting this. + #def log_add(result): + #return result + #observer.addCallback(log_add) if notify_on_disk: # We store this deferred so we can keep track of the pending |