so that the method can be called correctly.

Signed-off-by: Lisa Velden <[email protected]>
---
 lib/metad.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lib/metad.py b/lib/metad.py
index 34d8a56..48f543e 100644
--- a/lib/metad.py
+++ b/lib/metad.py
@@ -77,14 +77,14 @@ if constants.ENABLE_METAD:
           logging.debug("Will retry")
           time.sleep(try_no * 10 + 10 * random.random())
 
-      def _InitTransport(self):
-        """(Re)initialize the transport if needed.
-
-        """
-        if self.transport is None:
-          self.transport = self.transport_class(self._GetAddress(),
-                                                timeouts=self.timeouts,
-                                                allow_non_master=True)
+    def _InitTransport(self):
+      """(Re)initialize the transport if needed.
+
+      """
+      if self.transport is None:
+        self.transport = self.transport_class(self._GetAddress(),
+                                              timeouts=self.timeouts,
+                                              allow_non_master=True)
 
 else:
   class Client(object):
-- 
2.6.0.rc2.230.g3dd15c0

Reply via email to