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

Unified Diff: packagerChrome.py

Issue 29350277: Issue 4375 - Updated jshydra dependency for Python 3 support (Closed)
Patch Set: Update revisions Created Aug. 30, 2016, 1:56 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 | « dependencies ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerChrome.py
===================================================================
--- a/packagerChrome.py
+++ b/packagerChrome.py
@@ -143,7 +143,7 @@
def convertJS(params, files):
- from jshydra.abp_rewrite import doRewrite
+ from jshydra.abp_rewrite import rewrite_js
for item in params['metadata'].items('convert_js'):
file, sources = item
@@ -168,7 +168,7 @@
del files[sourceFile]
sourceFiles = map(lambda f: os.path.abspath(os.path.join(baseDir, f)), sourceFiles)
- files[file] = doRewrite(sourceFiles, args)
+ files[file] = rewrite_js(['--arg', ' '.join(args)] + sourceFiles)
def toJson(data):
« no previous file with comments | « dependencies ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld