[Erp5-report] r41539 luke - /erp5/trunk/utils/erp5.appliance.test/src/test.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Dec 20 13:19:49 CET 2010
Author: luke
Date: Mon Dec 20 13:19:49 2010
New Revision: 41539
URL: http://svn.erp5.org?rev=41539&view=rev
Log:
- use urllib
Modified:
erp5/trunk/utils/erp5.appliance.test/src/test.py
Modified: erp5/trunk/utils/erp5.appliance.test/src/test.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.appliance.test/src/test.py?rev=41539&r1=41538&r2=41539&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] (original)
+++ erp5/trunk/utils/erp5.appliance.test/src/test.py [utf8] Mon Dec 20 13:19:49 2010
@@ -405,8 +405,8 @@ def run_once(config, software_path,
file(os.path.join(software_path, 'buildout.cfg'), 'w').write(
software_buildout % dict(software_profile_url = software_profile_url))
# Download bootstrap file
- download_command = ["""python -S -c "import urllib2;f=open("""
- """'bootstrap.py','w');f.write(urllib2.urlopen('http://svn.zope.org"""
+ download_command = ["""python -S -c "import urllib;f=open("""
+ """'bootstrap.py','w');f.write(urllib.urlopen('http://svn.zope.org"""
"""/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py').read())"""]
callWithTimeout(download_command, config, cwd=software_path)
More information about the Erp5-report
mailing list