diff options
author | Thomas Bechtold <tbechtold@suse.com> | 2019-12-09 16:17:23 +0100 |
---|---|---|
committer | Thomas Bechtold <tbechtold@suse.com> | 2019-12-12 10:21:01 +0100 |
commit | 0127cd1e8817b05b1c3150540b021f9a24b47089 (patch) | |
tree | 4d70688e81f80ed40abe6bc126c1067eb1d46de8 /qa/tasks/create_verify_lfn_objects.py | |
parent | Merge pull request #32175 from rzarzynski/wip-crimson-errorator-do_with-frien... (diff) | |
download | ceph-0127cd1e8817b05b1c3150540b021f9a24b47089.tar.xz ceph-0127cd1e8817b05b1c3150540b021f9a24b47089.zip |
qa: Enable flake8 tox and fix failures
There were a couple of problems found by flake8 in the qa/
directory (most of them fixed now). Enabling flake8 during the usual
check runs hopefully avoids adding new issues in the future.
Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
Diffstat (limited to 'qa/tasks/create_verify_lfn_objects.py')
-rw-r--r-- | qa/tasks/create_verify_lfn_objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/tasks/create_verify_lfn_objects.py b/qa/tasks/create_verify_lfn_objects.py index 01ab1a370b7..53254158128 100644 --- a/qa/tasks/create_verify_lfn_objects.py +++ b/qa/tasks/create_verify_lfn_objects.py @@ -35,7 +35,7 @@ def task(ctx, config): for ns in namespace: def object_name(i): nslength = 0 - if namespace is not '': + if namespace != '': nslength = len(namespace) numstr = str(i) fillerlen = l - nslength - len(prefix) - len(numstr) |