When calling tarname with an argument (and thus not use testtar.tar) return a
path for the file in the temp directory for the platform.
This commit is contained in:
parent
cd494adc3b
commit
43e559a155
@ -30,7 +30,7 @@ membercount = 10
|
|||||||
def tarname(comp=""):
|
def tarname(comp=""):
|
||||||
if not comp:
|
if not comp:
|
||||||
return testtar
|
return testtar
|
||||||
return "%s%s%s" % (testtar, os.extsep, comp)
|
return os.path.join(tempdir, "%s%s%s" % (testtar, os.extsep, comp))
|
||||||
|
|
||||||
def dirname():
|
def dirname():
|
||||||
if not os.path.exists(tempdir):
|
if not os.path.exists(tempdir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user