diff options
author | Chad Austin <chad@imvu.com> | 2013-02-01 14:02:32 -0800 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-03-04 19:31:47 -0800 |
commit | fd4fec473e627336117b61590e1e0c039dd87919 (patch) | |
tree | c315418343bddd684a54c56879cf7f3eab4b434f /tools/shared.py | |
parent | 1c06e04fda0e099ba7536147be6b85d02bdab6df (diff) |
Break two more emscripten.py dependencies on tools.shared
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 10 |
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 |