aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-26 20:13:02 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-26 20:13:02 -0500
commit722c7b69e783724a3695bb85ecf22e9ae275729b (patch)
tree16a984e196eb6d4bc57e8ba8c0b2d9202ddd5370 /emscripten.py
parentd85070cff906aaa9e18e4a85f16dffa8427da669 (diff)
remove unneeded parens in python
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 44478331..704e2b25 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -152,7 +152,7 @@ def emscript(infile, settings, outfile, libraries=[]):
out = shared.JCache.get(shortkey, keys)
- if (not out) and DEBUG_CACHE:
+ if DEBUG_CACHE and not out:
dfpath = os.path.join(shared.TEMP_DIR, "ems_" + shortkey)
dfp = open(dfpath, 'w')
dfp.write(pre_input);