Actions
Bug #41164
closedcephfs-shell: onecmd throws TypeError
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-shell
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
cmd2 (0.9.15)
Python 3.7.4
Fedora 30
Due to changes in recent cmd module, on any command the following error is produced:
CephFS:~/>>> ls Traceback (most recent call last): File "/home/varsha/ceph/build/venv/lib/python3.7/site-packages/cmd2/cmd2.py", line 1807, in onecmd_plus_hooks stop = self.onecmd(statement, add_to_history=add_to_history) TypeError: onecmd() got an unexpected keyword argument 'add_to_history' EXCEPTION of type 'TypeError' occurred with message: 'onecmd() got an unexpected keyword argument 'add_to_history''
Actions