From cccd68ed67f4708f5b6462e3e4da332260052e2c Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Mon, 19 Aug 2019 10:58:09 +0530 Subject: [PATCH] cephfs-shell: rewrite call to perror in do_du Adapt to new signature of cmd2.Cmd.perror. Signed-off-by: Rishabh Dave --- src/tools/cephfs/cephfs-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.5