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

Unified Diff: convert_js.py

Issue 29340602: Issue 2596 - change adblockplus to adblockpluscore (Closed)
Patch Set: rebase Created April 21, 2016, 11:41 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 | dependencies » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: convert_js.py
diff --git a/convert_js.py b/convert_js.py
index c8e6b99a0ff133d3cc3c96462a198cbff04552e5..b784a86c171ca3bfef327b974a90d1dcf6fc1847 100755
--- a/convert_js.py
+++ b/convert_js.py
@@ -10,7 +10,7 @@ import argparse
import xml.dom.minidom as minidom
baseDir = os.path.abspath(os.path.dirname(__file__))
-sys.path.append(os.path.join(baseDir, 'adblockplus', 'buildtools', 'jshydra'))
+sys.path.append(os.path.join(baseDir, 'adblockpluscore', 'buildtools', 'jshydra'))
from abp_rewrite import doRewrite
@@ -61,7 +61,7 @@ def convertXMLFile(array, file):
def convertJsFile(array, file):
- converted = doRewrite([os.path.abspath(file)], ['module=true', 'source_repo=https://hg.adblockplus.org/adblockplus/'])
+ converted = doRewrite([os.path.abspath(file)], ['module=true', 'source_repo=https://hg.adblockplus.org/adblockpluscore/'])
array.add(os.path.basename(file))
array.add(converted)
« no previous file with comments | « no previous file | dependencies » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld