]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephfs-shell: Fix flake8 line break after binary operator error
authorVarsha Rao <varao@redhat.com>
Mon, 29 Jul 2019 06:28:47 +0000 (11:58 +0530)
committerVarsha Rao <varao@redhat.com>
Mon, 29 Jul 2019 11:45:35 +0000 (17:15 +0530)
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
src/tools/cephfs/cephfs-shell

index 47f9922e1597ed09408682130c0705af522c5f68..544da9644ef2c61e3da5f66d764b38dcd4a3ee2f 100755 (executable)
@@ -767,17 +767,17 @@ exists.')
                     print_long(cephfs.getcwd().decode(
                         'utf-8') + path + '/' + path, is_dir, True)
                 elif args.long:
-                    print_long(cephfs.getcwd().decode('utf-8') +
-                               path +
-                               '/' +
-                               path,
+                    print_long(cephfs.getcwd().decode('utf-8')
+                               + path
+                               + '/'
+                               path,
                                is_dir, False)
                 elif is_dir:
-                    values.append(colorama.Style.BRIGHT +
-                                  colorama.Fore.CYAN +
-                                  path +
-                                  '/' +
-                                  colorama.Style.RESET_ALL)
+                    values.append(colorama.Style.BRIGHT
+                                  + colorama.Fore.CYAN
+                                  + path
+                                  + '/'
+                                  colorama.Style.RESET_ALL)
                 else:
                     values.append(path)
             if not args.long: