From: Jeff Layton Date: Fri, 10 Dec 2021 14:29:33 +0000 (-0500) Subject: cephfs-shell: don't set use_ipython argument in super.__init__() X-Git-Tag: v17.1.0~133^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ed7e99d2b4e1e31c25bc24f5a020890ae970036;p=ceph.git cephfs-shell: don't set use_ipython argument in super.__init__() I get this traceback when trying to use cephfs-shell: Traceback (most recent call last): File "/usr/bin/cephfs-shell", line 1677, in shell = CephFSShell() File "/usr/bin/cephfs-shell", line 389, in __init__ super().__init__(use_ipython=False) TypeError: Cmd.__init__() got an unexpected keyword argument 'use_ipython' The "use_ipython" argument has been renamed to "include_ipy". The default for both of them is False though, so just drop the argument altogether. Signed-off-by: Jeff Layton --- diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index 4c88cb8cd71b..d1916a906184 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -386,7 +386,7 @@ def dirwalk(path): class CephFSShell(Cmd): def __init__(self): - super().__init__(use_ipython=False) + super().__init__() self.working_dir = cephfs.getcwd().decode('utf-8') self.set_prompt() self.interactive = False