[open-ils-commits] r20146 - branches/rel_2_1/build/i18n/tests (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 18 00:39:36 EDT 2011


Author: dbs
Date: 2011-04-18 00:39:32 -0400 (Mon, 18 Apr 2011)
New Revision: 20146

Modified:
   branches/rel_2_1/build/i18n/tests/check_entities.py
Log:
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.


Modified: branches/rel_2_1/build/i18n/tests/check_entities.py
===================================================================
--- branches/rel_2_1/build/i18n/tests/check_entities.py	2011-04-18 04:38:46 UTC (rev 20145)
+++ branches/rel_2_1/build/i18n/tests/check_entities.py	2011-04-18 04:39:32 UTC (rev 20146)
@@ -127,7 +127,6 @@
         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)



More information about the open-ils-commits mailing list