From c0a7082c6f78d1fb3f8c3ec03f68aaeaf3726c81 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 18 Apr 2011 04:38:46 +0000 Subject: [PATCH] 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 --- build/i18n/tests/check_entities.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/build/i18n/tests/check_entities.py b/build/i18n/tests/check_entities.py index 3756e2a..3dce59c 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) -- 1.7.2.5