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/persistent_history.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/persistent_history.py')
-rwxr-xr-x | examples/persistent_history.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/persistent_history.py b/examples/persistent_history.py index e1874212..61e26b9c 100755 --- a/examples/persistent_history.py +++ b/examples/persistent_history.py @@ -15,7 +15,7 @@ class Cmd2PersistentHistory(cmd2.Cmd): :param hist_file: file to load readline history from at start and write it to at end """ - cmd2.Cmd.__init__(self, persistent_history_file=hist_file, persistent_history_length=500) + super().__init__(persistent_history_file=hist_file, persistent_history_length=500) self.allow_cli_args = False self.prompt = 'ph> ' |