summaryrefslogtreecommitdiff
path: root/examples/paged_output.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-12-06 12:29:29 -0500
committerGitHub <noreply@github.com>2018-12-06 12:29:29 -0500
commitea182bbea386288b1acfbc35c99243a457ff1036 (patch)
treed3641a78217bbb79cbe039f80648b44b2fbdd0a4 /examples/paged_output.py
parent709af49a7f161c98260cc5ddda736987fb0f1f23 (diff)
parent9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064 (diff)
downloadcmd2-git-ea182bbea386288b1acfbc35c99243a457ff1036.tar.gz
Merge pull request #607 from python-cmd2/flake8
Fix flake8 issues
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