summaryrefslogtreecommitdiff
path: root/examples/persistent_history.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
committerEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
commitbfc190e64481c161929d69e358c0dccb32d67c21 (patch)
tree96b12312e91ec3497faf0adce547656ed1431387 /examples/persistent_history.py
parent8d4f8411bb5f6bbac8ec121f897ccece1b97006c (diff)
parent480c7f8bbcdf1179312f71f525e79102aa4551ae (diff)
downloadcmd2-git-bfc190e64481c161929d69e358c0dccb32d67c21.tar.gz
Merge remote-tracking branch 'origin/python3' into autocompleter
Diffstat (limited to 'examples/persistent_history.py')
-rwxr-xr-xexamples/persistent_history.py2
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> '