mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 06:17:50 +00:00
There is no need for a default. There is always a value.
This commit is contained in:
parent
2c994b4417
commit
845e1e7a4a
@ -55,7 +55,7 @@ def temp_dir(request):
|
||||
Invoke like 'py.test --keep-tempdir ...' to avoid deleting the temp-dir
|
||||
"""
|
||||
tmp = mkdtemp(prefix="tahoe")
|
||||
if request.config.getoption('keep', True):
|
||||
if request.config.getoption('keep'):
|
||||
print("Will retain tempdir '{}'".format(tmp))
|
||||
|
||||
# I'm leaving this in and always calling it so that the tempdir
|
||||
|
Loading…
Reference in New Issue
Block a user