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: Created Aug. 29, 2016, 9:23 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
« dependencies ('K') | « 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):
« dependencies ('K') | « dependencies ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld