diff options
author | Bo Wang <bo.wang@easystack.cn> | 2016-02-01 20:17:47 +0800 |
---|---|---|
committer | Bo Wang <bo.wang@easystack.cn> | 2016-02-02 01:03:06 +0800 |
commit | 0105fd120659baf3445b994af29837755d155c73 (patch) | |
tree | 0f31efa79ad76c83b4b158ea52324334d44f8a42 /tools | |
parent | 6d023a6bc299cb355f0ee90d626603456aa982f8 (diff) | |
download | python-novaclient-0105fd120659baf3445b994af29837755d155c73.tar.gz |
Use # noqa to ignore one line but not whole file
"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".
Closes Bug: #1540254
Change-Id: I34c8a2218f974cd7e78c60e9c1fec26751c4e82d
Diffstat (limited to 'tools')
-rw-r--r-- | tools/install_venv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py index cc218437..d51c8d90 100644 --- a/tools/install_venv.py +++ b/tools/install_venv.py @@ -22,7 +22,7 @@ import ConfigParser import os import sys -import install_venv_common as install_venv # flake8: noqa +import install_venv_common as install_venv def print_help(project, venv, root): @@ -42,7 +42,7 @@ def print_help(project, venv, root): $ %(root)s/tools/with_venv.sh <your command> """ - print help % dict(project=project, venv=venv, root=root) + print(help % dict(project=project, venv=venv, root=root)) def main(argv): |