]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: over-indented (E117)
authorMichael Fritch <mfritch@suse.com>
Fri, 12 Feb 2021 16:02:17 +0000 (09:02 -0700)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:16 +0000 (07:56 -0500)
Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit 8187eb97c7f0d87de7b0bc2905f13dc140a75448)

src/cephadm/cephadm
src/cephadm/tox.ini

index fc1785e5113f7fb0db21b0a80b6fd4274b3ef505..7648c60811cd9a541bd630de58dc81f9a7faf6d3 100755 (executable)
@@ -1241,7 +1241,7 @@ if sys.version_info < (3, 8):
             self._threads = {}
 
         def is_active(self):
-                return True
+            return True
 
         def close(self):
             self._join_threads()
@@ -3196,7 +3196,7 @@ def _pull_image(ctx, image):
 
     cmd = [ctx.container_path, 'pull', image]
     if 'podman' in ctx.container_path and os.path.exists('/etc/ceph/podman-auth.json'):
-            cmd.append('--authfile=/etc/ceph/podman-auth.json')
+        cmd.append('--authfile=/etc/ceph/podman-auth.json')
     cmd_str = ' '.join(cmd)
 
     for sleep_secs in [1, 4, 25]:
index 528f75d5f97b27eac018bbb50a3a70853cdf9357..898503364a19383ee7b418654ef93dd2ec140ba8 100644 (file)
@@ -5,7 +5,6 @@ skipsdist=true
 [flake8]
 max-line-length = 100
 ignore =
-    E117,
     E121,
     E122,
     E123,