Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: utils.py

Issue 4947331774414848: Issue 298 - JSHydra is unable to download a SpiderMonkey build (Closed)
Patch Set: Created April 10, 2014, 2:52 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = 'https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/17.0.11esr-candidates/build1/jsshell-%s.zip' % platform_map[sys.platform]
+ download_url = 'https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013/01/2013-01-01-03-45-03-mozilla-esr17/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')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld