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/argparse_example.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/argparse_example.py')
-rwxr-xr-x | examples/argparse_example.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/argparse_example.py b/examples/argparse_example.py index ca2173e7..e9b377ba 100755 --- a/examples/argparse_example.py +++ b/examples/argparse_example.py @@ -28,7 +28,7 @@ class CmdLineApp(Cmd): self.settable['maxrepeats'] = 'Max number of `--repeat`s allowed' # Set use_ipython to True to enable the "ipy" command which embeds and interactive IPython shell - Cmd.__init__(self, use_ipython=False, transcript_files=transcript_files) + super().__init__(use_ipython=False, transcript_files=transcript_files) # Disable cmd's usage of command-line arguments as commands to be run at invocation # self.allow_cli_args = False |