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
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)