summaryrefslogtreecommitdiff
path: root/examples/paged_output.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/paged_output.py')
-rwxr-xr-xexamples/paged_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/paged_output.py b/examples/paged_output.py
index d1b1b2c2..a0674a62 100755
--- a/examples/paged_output.py
+++ b/examples/paged_output.py
@@ -21,7 +21,7 @@ class PagedOutput(cmd2.Cmd):
with open(filename, 'r') as f:
text = f.read()
self.ppaged(text, chop=chop)
- except FileNotFoundError as ex:
+ except FileNotFoundError:
self.perror('ERROR: file {!r} not found'.format(filename), traceback_war=False)
@cmd2.with_argument_list