Index: utils.py |
=================================================================== |
--- a/utils.py |
+++ b/utils.py |
@@ -22,17 +22,17 @@ def ensureJSShell(): |
platform_map = { |
'win32': 'win32', |
'linux2': 'linux-i686', |
'darwin': 'mac', |
} |
if sys.platform not in platform_map: |
raise Exception('Unknown platform, is there a JS shell version for it?') |
- download_url = 'http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/11.0-candidates/build2/jsshell-%s.zip' % platform_map[sys.platform] |
+ download_url = 'https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/20.0-candidates/build1/jsshell-%s.zip' % platform_map[sys.platform] |
data = StringIO(urllib.urlopen(download_url).read()) |
zip = zipfile.ZipFile(data) |
zip.extractall(shell_dir) |
zip.close() |
if not os.path.exists(path): |
raise Exception('Downloaded package didn\'t contain JS shell executable') |