diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2013-07-27 16:25:20 +0400 |
---|---|---|
committer | Dmitry Shachnev <mitya57@gmail.com> | 2013-07-28 18:33:00 +0400 |
commit | 471bba941994f1195a805229bb721d70b94b4cb8 (patch) | |
tree | 6c49f7e9d28acdcea426901de587e5045210ec55 /run-tests.py | |
parent | a37c60ac5185c8d5f46b2e5ab7214022e2d76e8c (diff) | |
download | markdown-471bba941994f1195a805229bb721d70b94b4cb8.tar.gz markdown-471bba941994f1195a805229bb721d70b94b4cb8.tar.bz2 markdown-471bba941994f1195a805229bb721d70b94b4cb8.zip |
Fix NameError in run-tests.py
Diffstat (limited to 'run-tests.py')
-rwxr-xr-x | run-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.py b/run-tests.py index 4f13eb5..1185e2d 100755 --- a/run-tests.py +++ b/run-tests.py @@ -10,7 +10,7 @@ if len(sys.argv) > 1 and sys.argv[1] == "update": if ext == config.get(tests.get_section(os.path.basename(root), config), 'input_ext'): tests.generate(root, config) else: - print(file, 'does not have a valid file extension. Check config.') + print(sys.argv[2], 'does not have a valid file extension. Check config.') else: tests.generate_all() else: |