aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-02-01 14:02:32 -0800
committerChad Austin <chad@imvu.com>2013-03-04 19:31:47 -0800
commitfd4fec473e627336117b61590e1e0c039dd87919 (patch)
treec315418343bddd684a54c56879cf7f3eab4b434f /tools/shared.py
parent1c06e04fda0e099ba7536147be6b85d02bdab6df (diff)
Break two more emscripten.py dependencies on tools.shared
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/shared.py b/tools/shared.py
index f0c79dae..052be15b 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -460,15 +460,7 @@ if not WINDOWS:
pass
# Temp file utilities
-
-def try_delete(filename):
- try:
- os.unlink(filename)
- except:
- try:
- shutil.rmtree(filename)
- except:
- pass
+from .tempfiles import try_delete
# Utilities