From 0ed7e99d2b4e1e31c25bc24f5a020890ae970036 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 10 Dec 2021 09:29:33 -0500 Subject: [PATCH] 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 --- 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 4c88cb8cd71..d1916a90618 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 -- 2.47.3