diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-04-11 12:14:16 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-04-11 12:14:16 +0000 |
| commit | 284cc009175f0d87683dc6a98ee997e8476ef87c (patch) | |
| tree | 3abad2da4a9157f46f04eed5c2b51427dabd8c45 /tools | |
| parent | 6b2af9c084754a1e678f741bfc6b97e13f1cf8a5 (diff) | |
| parent | 588b5651dc515d642b110f61c41d78860206841c (diff) | |
| download | nova-284cc009175f0d87683dc6a98ee997e8476ef87c.tar.gz nova-284cc009175f0d87683dc6a98ee997e8476ef87c.tar.xz nova-284cc009175f0d87683dc6a98ee997e8476ef87c.zip | |
Merge "Remove "undefined name" pyflake errors"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/run_pep8.sh | 3 |
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 '_'" |
