ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: edit-list.py could retrieve less data
Date Fri, 11 Nov 2016 23:20:25 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 5001a161e -> 30bf3db3d


edit-list.py could retrieve less data

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/30bf3db3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/30bf3db3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/30bf3db3

Branch: refs/heads/master
Commit: 30bf3db3de6c08ee7b8271e35efde96cd54077c7
Parents: 5001a16
Author: Sebb <sebb@apache.org>
Authored: Fri Nov 11 23:20:13 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Fri Nov 11 23:20:13 2016 +0000

----------------------------------------------------------------------
 tools/edit-list.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/30bf3db3/tools/edit-list.py
----------------------------------------------------------------------
diff --git a/tools/edit-list.py b/tools/edit-list.py
index 5920f68..7f41ee3 100755
--- a/tools/edit-list.py
+++ b/tools/edit-list.py
@@ -174,6 +174,7 @@ if targetLID or makePrivate or makePublic or deleteEmails or mid or obfuscate:
         search_type = 'scan',
         size = 100,
         body = {
+            '_source': ['body', 'subject', 'from'] if  obfuscate else False,
             'query': {
                 'bool': {
                     'must': [


Mime
View raw message