diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-04 14:16:31 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-04 14:16:31 -0700 |
commit | 0712696d0666bfcb1f5e891aefdfc639ae5757bb (patch) | |
tree | acbdc82dd59f8a5a6615bf867dc506985e71a098 | |
parent | 2e989babe021ee8b08d3d75917e74f8f8b2c334a (diff) | |
parent | 2fc27b89479caf051a7d032c4ca2e001baec2623 (diff) |
Merge pull request #1032 from waywardmonkeys/fix-try-delete
Fix calling try_delete before importing it.
-rw-r--r-- | tools/shared.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/shared.py b/tools/shared.py index 5f3968a2..61779c59 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -7,6 +7,9 @@ def listify(x): if type(x) is not list: return [x] return x +# Temp file utilities +from tempfiles import try_delete + # On Windows python suffers from a particularly nasty bug if python is spawning new processes while python itself is spawned from some other non-console process. # Use a custom replacement for Popen on Windows to avoid the "WindowsError: [Error 6] The handle is invalid" errors when emcc is driven through cmake or mingw32-make. # See http://bugs.python.org/issue3905 @@ -427,9 +430,6 @@ if not WINDOWS: except: pass -# Temp file utilities -from tempfiles import try_delete - # Utilities def check_engine(engine): |