From 6780baa83457f7e99ba3a9c4f6a3c27701326ac5 Mon Sep 17 00:00:00 2001 From: kotfu Date: Wed, 23 May 2018 21:16:17 -0600 Subject: Standardize cmd2 imports in tests and examples --- examples/paged_output.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/paged_output.py') diff --git a/examples/paged_output.py b/examples/paged_output.py index 9396f04e..c56dcb89 100755 --- a/examples/paged_output.py +++ b/examples/paged_output.py @@ -3,8 +3,7 @@ """A simple example demonstrating the using paged output via the ppaged() method. """ -from cmd2 import cmd2 -from cmd2.cmd2 import with_argument_list +import cmd2 class PagedOutput(cmd2.Cmd): @@ -13,7 +12,7 @@ class PagedOutput(cmd2.Cmd): def __init__(self): super().__init__() - @with_argument_list + @cmd2.with_argument_list def do_page_file(self, args): """Read in a text file and display its output in a pager.""" if not args: -- cgit v1.2.1