]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: statement ends with a semicolon (E703)
authorMichael Fritch <mfritch@suse.com>
Thu, 18 Feb 2021 22:24:03 +0000 (15:24 -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 6237df7527b0384b2c1d47d17369e58cf9c5b0a4)

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

index d726083ccf1a7286634cd26e30a1d031a12a8f5b..d89b874e252e2f573912eb092b877bf8501185bb 100755 (executable)
@@ -2254,7 +2254,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id,
 
     if daemon_type in Ceph.daemons:
         if fsid:
-            run_path = os.path.join('/var/run/ceph', fsid);
+            run_path = os.path.join('/var/run/ceph', fsid)
             if os.path.exists(run_path):
                 mounts[run_path] = '/var/run/ceph:z'
             log_dir = get_log_dir(fsid, ctx.log_dir)
@@ -4785,7 +4785,7 @@ def command_adopt(ctx):
 
     # call correct adoption
     if daemon_type in Ceph.daemons:
-        command_adopt_ceph(ctx, daemon_type, daemon_id, fsid);
+        command_adopt_ceph(ctx, daemon_type, daemon_id, fsid)
     elif daemon_type == 'prometheus':
         command_adopt_prometheus(ctx, daemon_id, fsid)
     elif daemon_type == 'grafana':
index f1e081a4af331d51c3ed919571d8edbb48df4db9..32d09664ebe462ffe0287638f44f9a6cfc706651 100644 (file)
@@ -6,7 +6,6 @@ skipsdist=true
 max-line-length = 100
 ignore =
     E501,
-    E703,
     E722,
     E741,
     F401,