summaryrefslogtreecommitdiff
path: root/examples/paged_output.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-27 23:03:35 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-27 23:03:35 -0400
commit554561b70f899ad8ec38393b27eed646456cab62 (patch)
tree197a5f86b09b0e176ff57831088c9e5cdb9a62f8 /examples/paged_output.py
parent88ce0b509dc09233a7c3efca7f1bea8b2c6c1ae2 (diff)
downloadcmd2-git-554561b70f899ad8ec38393b27eed646456cab62.tar.gz
Addressed code review comments
Diffstat (limited to 'examples/paged_output.py')
-rwxr-xr-xexamples/paged_output.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/paged_output.py b/examples/paged_output.py
index 9005a4da..cb213087 100755
--- a/examples/paged_output.py
+++ b/examples/paged_output.py
@@ -2,7 +2,6 @@
# coding=utf-8
"""A simple example demonstrating the using paged output via the ppaged() method.
"""
-import functools
import cmd2
from cmd2 import with_argument_list
@@ -25,7 +24,7 @@ class PagedOutput(cmd2.Cmd):
text = f.read()
self.ppaged(text)
- complete_page_file = functools.partial(cmd2.path_complete)
+ complete_page_file = cmd2.Cmd.path_complete
if __name__ == '__main__':