diff options
author | Luca Falavigna <dktrkranz@debian.org> | 2013-03-11 22:33:28 +0100 |
---|---|---|
committer | Luca Falavigna <dktrkranz@debian.org> | 2013-03-11 22:33:28 +0100 |
commit | cb3425abe0bc2d05caf401ca24b82a25a81f009d (patch) | |
tree | c807cf73b89b3ed2a4e9d4afa5d7e8fa4355a6a5 /bin/scons-test.py | |
parent | 3d529f4ea2b0de42aa2144dbe904e564b7b0b813 (diff) |
Imported Upstream version 2.3.0upstream/2.3.0
Diffstat (limited to 'bin/scons-test.py')
-rw-r--r-- | bin/scons-test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/scons-test.py b/bin/scons-test.py index 2191532..046cf4b 100644 --- a/bin/scons-test.py +++ b/bin/scons-test.py @@ -15,6 +15,7 @@ # so that problems on different platforms can be identified sooner. # +import atexit import getopt import imp import os @@ -74,7 +75,7 @@ if not os.path.exists(tempdir): import shutil os.chdir(startdir) shutil.rmtree(tempdir) - sys.exitfunc = cleanup + atexit.register(cleanup) # Fetch the input file if it happens to be across a network somewhere. # Ohmigod, does Python make this simple... |