From: Rishabh Dave Date: Mon, 19 Aug 2019 05:28:09 +0000 (+0530) Subject: cephfs-shell: rewrite call to perror in do_du X-Git-Tag: v15.1.0~1555^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cccd68ed67f4708f5b6462e3e4da332260052e2c;p=ceph-ci.git cephfs-shell: rewrite call to perror in do_du Adapt to new signature of cmd2.Cmd.perror. Signed-off-by: Rishabh Dave --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index e38cc809679..0354755118c 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -1168,7 +1168,7 @@ sub-directories, files') f.decode('utf-8'))) except (libcephfs.Error, OSError): self.perror('{} : no such directory exists'.format(f.\ - decode('utf-8')), False) + decode('utf-8')), apply_style=True) continue for path in args.paths: