stop hardcoding the temp root

Summary: The hardcoded value wasn't appropriate for Windows.

Reviewers: sean

Differential Revision: https://phabricator.buildinspace.com/D116
This commit is contained in:
Jack O'Connor 2014-11-07 17:13:52 -08:00
parent 1d1f0c9a87
commit 4cd33bfb5f
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def tmp_file():
def _tmp_root():
root = '/tmp/peru/test'
root = os.path.join(tempfile.gettempdir(), 'peru', 'test')
makedirs(root)
return root