Merge "Clarify use of Use of deprecated md5 library"

This commit is contained in:
Jenkins 2012-02-22 16:53:11 +00:00 committed by Gerrit Code Review
commit be56fd77ad
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 {