From d8312e4c70c5c821133dd3bb5052af52a66ef88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Thu, 12 Jun 2014 01:47:09 +0200 Subject: [PATCH] Docstring formatting --- elasticsearch/client/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index aa354f07..5c9f7c7c 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -142,7 +142,9 @@ class Elasticsearch(object): @query_params() def ping(self, params=None): - """ Returns True if the cluster is up, False otherwise. """ + """ + Returns True if the cluster is up, False otherwise. + """ try: self.transport.perform_request('HEAD', '/', params=params) except TransportError: @@ -151,7 +153,9 @@ class Elasticsearch(object): @query_params() def info(self, params=None): - """ Get the basic info from the current cluster. """ + """ + Get the basic info from the current cluster. + """ _, data = self.transport.perform_request('GET', '/', params=params) return data