Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Make temporary directory names nicer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed May 29, 2013
1 parent d9b004a commit 9abb8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sadt
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ class TestGroup(object):
def _run(self, test, progress):
path = os.path.join(self.tests_directory, test)
chmod_x(path)
tmpdir1 = tempfile.mkdtemp(prefix='sadt')
tmpdir2 = tempfile.mkdtemp(prefix='sadt')
tmpdir1 = tempfile.mkdtemp(prefix='sadt.')
tmpdir2 = tempfile.mkdtemp(prefix='sadt.')
environ = dict(os.environ)
environ['ADTTMP'] = tmpdir1
environ['TMPDIR'] = tmpdir2 # only for compatiblity with old DEP-8 spec.
Expand Down

0 comments on commit 9abb8fc

Please sign in to comment.