mirror of https://github.com/buildinspace/peru.git
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:
parent
1d1f0c9a87
commit
4cd33bfb5f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue