Commit e370e840 authored by tarek's avatar tarek

renamed bootstrap

--HG--
branch : distribute
extra : rebase_source : 0f35dd5d49900dc6d6a4c237fb1ca422fa5740e2
parent 523edfeb
......@@ -2,8 +2,8 @@ import urllib2
import sys
import os
if os.path.exists('bootstrap.py'):
print 'bootstrap.py exists in the current dir, aborting'
if os.path.exists('bootstraping.py'):
print 'bootstraping.py exists in the current dir, aborting'
sys.exit(2)
print '**** Starting Test'
......@@ -14,13 +14,13 @@ if is_jython:
import subprocess
print 'Downloading bootstrap'
file = urllib2.urlopen('http://nightly.ziade.org/bootstrap.py')
f = open('bootstrap.py', 'w')
file = urllib2.urlopen('http://nightly.ziade.org/bootstraping.py')
f = open('bootstraping.py', 'w')
f.write(file.read())
f.close()
# running it
args = [sys.executable] + ['bootstrap.py']
args = [sys.executable] + ['bootstraping.py']
if is_jython:
res = subprocess.call(args)
else:
......@@ -28,7 +28,7 @@ else:
if res != 0:
print '**** Test failed, please send me the output at tarek@ziade.org'
os.remove('bootstrap.py')
os.remove('bootstraping.py')
sys.exit(2)
# now checking if Distribute is installed
......@@ -71,5 +71,5 @@ try:
finally:
if os.path.exists(script_name):
os.remove(script_name)
os.remove('bootstrap.py')
os.remove('bootstraping.py')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment