diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-12-06 13:40:58 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-12-06 13:40:58 -0500 |
commit | 5b9281f6dfb55d436e6a19ae41af5a8590fbaed7 (patch) | |
tree | 6b4d269801df6fb2634af3003fe28a29b010008f /examples/paged_output.py | |
parent | 23970dfdca765992157b8089f3a34f7fd4fa4f10 (diff) | |
parent | ea182bbea386288b1acfbc35c99243a457ff1036 (diff) | |
download | cmd2-git-5b9281f6dfb55d436e6a19ae41af5a8590fbaed7.tar.gz |
Merge branch 'master' into history
Diffstat (limited to 'examples/paged_output.py')
-rwxr-xr-x | examples/paged_output.py | 2 |
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 |