You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/10/23 18:38:34 UTC

[kibble-scanners] branch master updated: these should be upserts

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cf5801  these should be upserts
7cf5801 is described below

commit 7cf5801378438dfe8f966467dffae51104266c41
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Oct 23 20:38:24 2017 +0200

    these should be upserts
---
 src/plugins/scanners/ponymail.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/scanners/ponymail.py b/src/plugins/scanners/ponymail.py
index cbb90cc..abe8fc1 100644
--- a/src/plugins/scanners/ponymail.py
+++ b/src/plugins/scanners/ponymail.py
@@ -240,7 +240,8 @@ def scan(KibbleBit, source):
                     'subject': email['subject'],
                     'replyto': replyTo,
                     'ts': email['epoch'],
-                    'id': email['id']
+                    'id': email['id'],
+                    'upsert': True
                 }
                 KibbleBit.append('email', jse)
             for sender in posters:

-- 
To stop receiving notification emails like this one, please contact
['"commits@kibble.apache.org" <co...@kibble.apache.org>'].