summaryrefslogtreecommitdiff
path: root/tools/install_venv.py
diff options
context:
space:
mode:
authorChaozhe.Chen <chaozhe.chen@easystack.cn>2016-02-09 17:00:30 +0800
committerChaozhe.Chen <chaozhe.chen@easystack.cn>2016-02-09 20:28:30 +0800
commit9e60e4a592011228bbf4ddacf96afbee2ab63ea6 (patch)
tree031afe7acf0fc8234312db429b11fec9d742e1f9 /tools/install_venv.py
parentbdeab3af0ed92a108fdc4a9625ff0c9475cb3826 (diff)
downloadpython-cinderclient-9e60e4a592011228bbf4ddacf96afbee2ab63ea6.tar.gz
Fix some flake8 violations
1. Wrong use of 'noqa'. "# flake8: noqa" option disables all checks for the whole file. 2. Remove exclusion of 'tools' and '*openstack/common*' in flake8 and fix the violations. Change-Id: I153e992ffd6a80e70a99d7066c503c34326c93ab Closes-bug: #1540254
Diffstat (limited to 'tools/install_venv.py')
-rw-r--r--tools/install_venv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install_venv.py b/tools/install_venv.py
index cc21843..1dab63e 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):