ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: pylint: move doc string inside method
Date Sun, 20 May 2018 15:01:28 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new d5e79e5  pylint: move doc string inside method
d5e79e5 is described below

commit d5e79e5944ef4a6283ac1b3138c5becf3ec4968f
Author: Sebb <sebb@apache.org>
AuthorDate: Sun May 20 16:01:27 2018 +0100

    pylint: move doc string inside method
---
 tools/elastic.py | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/elastic.py b/tools/elastic.py
index 24940ad..126773d 100755
--- a/tools/elastic.py
+++ b/tools/elastic.py
@@ -117,14 +117,14 @@ class Elastic:
     def bulk(self, actions, **kwargs):
         return helpers.bulk(self.es, actions, **kwargs)
 
-    """ 
-        Call this to release the scroll id and its resources
-
-        It looks like the Python library already releases the SID
-        if the caller scrolls to the end of the results, so only need to call this
-        when terminating scrolling early.
-    """
     def clear_scroll(self, *args, **kwargs):
+        """ 
+            Call this to release the scroll id and its resources
+    
+            It looks like the Python library already releases the SID
+            if the caller scrolls to the end of the results, so only need to call this
+            when terminating scrolling early.
+        """
         return self.es.clear_scroll(*args, **kwargs)
 
 if __name__ == '__main__':

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.

Mime
View raw message