diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-12-06 12:29:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-06 12:29:29 -0500 |
commit | ea182bbea386288b1acfbc35c99243a457ff1036 (patch) | |
tree | d3641a78217bbb79cbe039f80648b44b2fbdd0a4 /examples/scripts/conditional.py | |
parent | 709af49a7f161c98260cc5ddda736987fb0f1f23 (diff) | |
parent | 9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064 (diff) | |
download | cmd2-git-ea182bbea386288b1acfbc35c99243a457ff1036.tar.gz |
Merge pull request #607 from python-cmd2/flake8
Fix flake8 issues
Diffstat (limited to 'examples/scripts/conditional.py')
-rw-r--r-- | examples/scripts/conditional.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/conditional.py b/examples/scripts/conditional.py index d7ee5ea2..faac3947 100644 --- a/examples/scripts/conditional.py +++ b/examples/scripts/conditional.py @@ -1,4 +1,5 @@ # coding=utf-8 +# flake8: noqa F821 """ This is a Python script intended to be used with the "python_scripting.py" cmd2 example application. @@ -12,7 +13,6 @@ application instance. import os import sys - if len(sys.argv) > 1: directory = sys.argv[1] print('Using specified directory: {!r}'.format(directory)) |