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

Unified Diff: abp_rewrite.py

Issue 10000013: Update to current version of the SpiderMonkey shell, adjust for thedifferent handling of for loops… (Closed)
Patch Set: Created April 3, 2013, 11:24 a.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 | autotest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: abp_rewrite.py
===================================================================
--- a/abp_rewrite.py
+++ b/abp_rewrite.py
@@ -11,17 +11,17 @@ def doRewrite(files, args):
application = utils.ensureJSShell()
env = {
'LD_LIBRARY_PATH': os.path.relpath(os.path.dirname(application)),
}
baseDir = os.path.dirname(utils.__file__)
command = [
- application, '-U', os.path.join(baseDir, 'jshydra.js'),
+ application, os.path.join(baseDir, 'jshydra.js'),
os.path.join(baseDir, 'scripts', 'abprewrite.js'),
'--arg', ' '.join(args)
] + files
result, dummy = subprocess.Popen(command, stdout=subprocess.PIPE, env=env).communicate()
result = result.replace('\r', '')
return result
if __name__ == '__main__':
« no previous file with comments | « no previous file | autotest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld