From: Varsha Rao Date: Mon, 29 Jul 2019 11:41:37 +0000 (+0530) Subject: cephfs-shell: Fix flake8 line too long error X-Git-Tag: v15.1.0~2038^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F29374%2Fhead;p=ceph.git cephfs-shell: Fix flake8 line too long error https://tracker.ceph.com/issues/40992 Signed-off-by: Varsha Rao --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 544da9644ef..ba4014a3b41 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -182,7 +182,8 @@ def print_long(path, is_dir, human_readable): info = cephfs.stat(path) pretty = os.path.basename(path.decode('utf-8')) if is_dir: - pretty = colorama.Style.BRIGHT + colorama.Fore.CYAN + pretty + '/' + colorama.Style.RESET_ALL + pretty = colorama.Style.BRIGHT + colorama.Fore.CYAN + pretty + '/' + pretty += colorama.Style.RESET_ALL if human_readable: poutput('{}\t{:10s} {} {} {} {}'.format( mode_notation(info.st_mode),