diff --git a/run_tests.sh b/run_tests.sh index 179164510..1d6f3a4db 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -102,7 +102,7 @@ xen_net_path="plugins/xenserver/networking/etc/xensource/scripts" srcfiles=`find nova -type f -name "*.py"` srcfiles+=" `find bin -type f ! -name "nova.conf*" ! -name "*api-paste.ini*"`" srcfiles+=" `find tools -type f -name "*.py"`" -srcfiles+=" `find ${xen_api_path} ${xen_net_path} -type f ! -name "*.patch"`" +srcfiles+=" `find ${xen_api_path} ${xen_net_path} -type f ! -name "*.patch" ! -name "*.pyc"`" srcfiles+=" setup.py" function run_pep8 {