diff options
author | Pavani Rajula <rpavani1998@gmail.com> | 2018-08-14 20:26:53 +0200 |
---|---|---|
committer | Pavani Rajula <rpavani1998@gmail.com> | 2018-08-17 20:07:05 +0200 |
commit | d5efa9caaea1cfc8811542a97b761099cf3f8b32 (patch) | |
tree | ed83defc74cc2aa26e2d5073a560af1599f57008 /src/tools/cephfs/cephfs-shell | |
parent | tools/cephfs-shell:resolved removing directories using pattern inside sub-dir... (diff) | |
download | ceph-d5efa9caaea1cfc8811542a97b761099cf3f8b32.tar.xz ceph-d5efa9caaea1cfc8811542a97b761099cf3f8b32.zip |
tools/cephfs-shell:changed output representation for the commands cwd and ls
Signed-off-by: Pavani Rajula <rpavani1998@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | src/tools/cephfs/cephfs-shell | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 2f305d1df45..a71485a9dfc 100644 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -224,7 +224,7 @@ def print_list(shell, words, termwidth=79): word = words[i] if word[0] == '\x1b': shell.poutput( - '%-*s' % (width + 9, words[i]), end='\n' if i + nrows >= nwords else '') + '%-*s' % (width + 10, words[i]), end='\n' if i + nrows >= nwords else '') else: shell.poutput( '%-*s' % (width, words[i]), end='\n' if i + nrows >= nwords else '') @@ -722,7 +722,7 @@ sub-directories, files') """ Get current working directory. """ - self.poutput(cephfs.getcwd()) + self.poutput(cephfs.getcwd().decode('utf-8')) def complete_chmod(self, text, line, begidx, endidx): """ |