dexter has uploaded this change for review.

View Change

shell: Use a double asterisk for kwargs

The missing asterisk on kwargs caused the values there to be erroneously treated as the autocomplete key ID by the cmd2 library.

Related: OS#5589
Change-Id: I19d28276e73e7024f64ed693c3b5e37c1344c687
---
M pySim-shell.py
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/77/30077/1
diff --git a/pySim-shell.py b/pySim-shell.py
index 90fe2e7..29a2c8c 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -153,7 +153,7 @@
else:
kwargs = {'include_ipy': True}
super().__init__(persistent_history_file='~/.pysim_shell_history', allow_cli_args=False,
- auto_load_commands=False, startup_script=script, *kwargs)
+ auto_load_commands=False, startup_script=script, **kwargs)
self.intro = style('Welcome to pySim-shell!', fg=RED)
self.default_category = 'pySim-shell built-in commands'
self.card = None

To view, visit change 30077. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I19d28276e73e7024f64ed693c3b5e37c1344c687
Gerrit-Change-Number: 30077
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-CC: markb <markboldyrev@gmail.com>
Gerrit-MessageType: newchange