From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 18 Apr 2011 04:38:46 +0000 (+0000)
Subject: Don't check .js files for entities
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c0a7082c6f78d1fb3f8c3ec03f68aaeaf3726c81;p=evergreen%2Fmasslnc.git

Don't check .js files for entities

Must have asked this script to check JS files for valid entities
for a reason at some point in the dark past, but it couldn't have
been a very good reason; we're getting a false positive that needs
to be hushed now. Better to just stop looking for XML entities in
JavaScript.


git-svn-id: svn://svn.open-ils.org/ILS/trunk@20145 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/build/i18n/tests/check_entities.py b/build/i18n/tests/check_entities.py
index 3756e2a928..3dce59c33e 100755
--- a/build/i18n/tests/check_entities.py
+++ b/build/i18n/tests/check_entities.py
@@ -127,7 +127,6 @@ def check_files(entities):
         for root, dirs, files in os.walk(x_dir):
             for x_file in files:
                 if os.path.splitext(x_file)[1] == '.xul' or \
-				   os.path.splitext(x_file)[1] == '.js' or \
 				   os.path.splitext(x_file)[1] == '.html' or \
 				   os.path.splitext(x_file)[1] == '.xhtml':
                     check_xul(root, x_file, entities)