summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-04-11 12:14:16 +0000
committerGerrit Code Review <review@openstack.org>2013-04-11 12:14:16 +0000
commit284cc009175f0d87683dc6a98ee997e8476ef87c (patch)
tree3abad2da4a9157f46f04eed5c2b51427dabd8c45 /tools
parent6b2af9c084754a1e678f741bfc6b97e13f1cf8a5 (diff)
parent588b5651dc515d642b110f61c41d78860206841c (diff)
downloadnova-284cc009175f0d87683dc6a98ee997e8476ef87c.tar.gz
nova-284cc009175f0d87683dc6a98ee997e8476ef87c.tar.xz
nova-284cc009175f0d87683dc6a98ee997e8476ef87c.zip
Merge "Remove "undefined name" pyflake errors"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_pep8.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_pep8.sh b/tools/run_pep8.sh
index 61b5f8985..7c2ec0130 100755
--- a/tools/run_pep8.sh
+++ b/tools/run_pep8.sh
@@ -22,4 +22,5 @@ PLUGINS_PATH=${SCRIPT_ROOT}/plugins/xenserver/xenapi/etc/xapi.d/plugins
PYTHONPATH=${PLUGINS_PATH} ${PEP8} ./plugins/xenserver/xenapi \
`find plugins/xenserver/xenapi/etc/xapi.d/plugins -type f -perm +111`
-! pyflakes nova/ | grep "imported but unused\|redefinition of function"
+! pyflakes nova/ | grep "imported but unused\|redefinition of function\|undefined name '" |
+ grep -v "undefined name '_'"