summaryrefslogtreecommitdiff
path: root/examples/persistent_history.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-16 20:40:13 -0700
committerGitHub <noreply@github.com>2018-04-16 20:40:13 -0700
commit33f2f03610f6c71ed232fe3b608f8592dec88428 (patch)
tree16f9f5c56427965de247dfca92e7481cf3fd4843 /examples/persistent_history.py
parent8aaf6f431ef5e0f5e4e55759a08a22a4591d8f6b (diff)
parent11a9664f3bb9bba7b97b6400d787ee05842739cd (diff)
downloadcmd2-git-33f2f03610f6c71ed232fe3b608f8592dec88428.tar.gz
Merge pull request #354 from python-cmd2/python3
Move to Python 3.4+ only
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> '