Remove incorrectly used "# flake8: noqa"

"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".
Remove unused "# flake8: noqa" and fix hidden hacking errors.

Change-Id: I8b26cb0e7e5ad4a838099c7aa3ced31b96f28ca2
Closes-Bug: #1540254
This commit is contained in:
Bo Wang 2016-02-18 19:37:56 +08:00
parent eec057d650
commit 8b5fcdb21f
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import sys
from six.moves import configparser
import install_venv_common as install_venv # flake8: noqa
import install_venv_common as install_venv
def print_help(project, venv, root):
@ -43,7 +43,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):