diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-15 14:26:29 -0700 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-15 14:26:29 -0700 |
commit | 60dddb03d05ccf4088242a524e624f61782dd40f (patch) | |
tree | 816eb6176ea40bf9d7c6f0d15715fe0a4b813cda /examples/remove_unused.py | |
parent | 40eb6f6c9428a5a3a54cebef34da7dae173dd074 (diff) | |
download | cmd2-git-60dddb03d05ccf4088242a524e624f61782dd40f.tar.gz |
Started removing dependency on six
Removed all dependency on six other than for six.moves.input
Also:
- Started removing code branches which were for Python 2 support
Diffstat (limited to 'examples/remove_unused.py')
-rwxr-xr-x | examples/remove_unused.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/remove_unused.py b/examples/remove_unused.py index cf26fcff..8a567123 100755 --- a/examples/remove_unused.py +++ b/examples/remove_unused.py @@ -16,7 +16,7 @@ class RemoveUnusedBuiltinCommands(cmd2.Cmd): """ Example cmd2 application where we remove some unused built-in commands.""" def __init__(self): - cmd2.Cmd.__init__(self) + super().__init__() # To hide commands from displaying in the help menu, add them to the hidden_commands list self.hidden_commands.append('py') |