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: Created April 19, 2016, 8:50 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 | 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 b3b04f6349d39acae9d5ff35c2656c7d8e55a50f..9c75c1dd3f2d6d962f9cc854c31f851dd5fb7142 100755
--- a/convert_js.py
+++ b/convert_js.py
@@ -4,7 +4,7 @@
import sys, os, codecs, re, json, 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
class CStringArray:
@@ -51,7 +51,7 @@ def convertXMLFile(array, file):
fileHandle.close()
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