Clarify use of Use of deprecated md5 library

See Invalid bug 937463 for more details
Also change run_tests.sh to ignore more '*.pyc' files

Change-Id: I8c8ded902833fe4268966ff7a9630daaaad43a19
This commit is contained in:
Joe Gordon 2012-02-20 22:38:52 -08:00
parent c28e4b526a
commit 1fc7c0c534
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ try:
import json
except ImportError:
import simplejson as json
# NOTE: XenServer 6 and below use python 2.4 so md5 is needed and not hashlib
import md5
import os
import os.path

View File

@ -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 {