diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-08-29 17:45:36 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-08-29 17:45:36 -0300 |
commit | 26f5a1c8b1c85e85ea390cd10421d17ef2cc9118 (patch) | |
tree | 3559d48c9f97fd94301b56fd6e512b8bb78ef2c6 | |
parent | 44fc31656f028942caeca5a9ce55b86ef14b3289 (diff) |
Actually save the doc in couch
-rw-r--r-- | changes/bug_save_doc | 1 | ||||
-rw-r--r-- | src/leap/mx/mail_receiver.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/bug_save_doc b/changes/bug_save_doc new file mode 100644 index 0000000..287228a --- /dev/null +++ b/changes/bug_save_doc @@ -0,0 +1 @@ + o Properly save the incoming mail as a doc in couch.
\ No newline at end of file diff --git a/src/leap/mx/mail_receiver.py b/src/leap/mx/mail_receiver.py index 77e7cf4..cabb5cb 100644 --- a/src/leap/mx/mail_receiver.py +++ b/src/leap/mx/mail_receiver.py @@ -168,6 +168,7 @@ class MailReceiver(Service): uuid = 0 db = CouchDatabase(self._mail_couch_url, "user-%s" % (uuid,)) + db.put_doc(doc) log.msg("Done exporting") |