diff options
author | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-02-21 20:01:48 +0000 |
---|---|---|
committer | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-02-21 22:35:13 +0000 |
commit | f6015d829935dd84b94c72eb4561858f9495f9f2 (patch) | |
tree | e803a4685c10d23a9ac8a8b6e1140bd4ddbb9f69 /tools | |
parent | fc4ede9bb69896992e5fafc2623f1083cc8d19cd (diff) | |
download | nova-f6015d829935dd84b94c72eb4561858f9495f9f2.tar.gz nova-f6015d829935dd84b94c72eb4561858f9495f9f2.tar.xz nova-f6015d829935dd84b94c72eb4561858f9495f9f2.zip |
Remove function redefinitions
A number of tests have never been run due to another function having
the same name. Duplicate names have been changed and additionally
pyflakes check will now fail in such situations.
Also fix ovs ethernet driver test which was incorrect.
Change-Id: Icd93528395e65a24194a6ec5dfb8025a820d29b5
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_pep8.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_pep8.sh b/tools/run_pep8.sh index 80c20a92d..a2a982cdc 100755 --- a/tools/run_pep8.sh +++ b/tools/run_pep8.sh @@ -24,4 +24,4 @@ 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" +! pyflakes nova/ | grep "imported but unused\|redefinition of function" |