diff options
author | Chad Austin <chad@imvu.com> | 2013-02-27 19:07:02 -0800 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-03-04 19:35:18 -0800 |
commit | cc0d959ebeb0624d7e8f3af496c170340afb8e55 (patch) | |
tree | e47dd030d21fe970b64478faa5792a90d99feb8b /tools/js_optimizer.py | |
parent | 4bde971a1f51eaa9c6da2e54a295ff04183cbab5 (diff) |
fix some test failures
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r-- | tools/js_optimizer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py index ad3a1f79..2fd2211b 100644 --- a/tools/js_optimizer.py +++ b/tools/js_optimizer.py @@ -31,7 +31,7 @@ def run_on_chunk(command): return filename def run_on_js(filename, passes, js_engine, jcache): - + if isinstance(jcache, bool) and jcache: jcache = shared.JCache if jcache: shared.JCache.ensure() if type(passes) == str: |