Merge "Change the default parameter values in common.MakeTempFile()."
This commit is contained in:
@@ -872,7 +872,7 @@ def ParseOptions(argv,
|
||||
return args
|
||||
|
||||
|
||||
def MakeTempFile(prefix=None, suffix=None):
|
||||
def MakeTempFile(prefix='tmp', suffix=''):
|
||||
"""Make a temp file and add it to the list of things to be deleted
|
||||
when Cleanup() is called. Return the filename."""
|
||||
fd, fn = tempfile.mkstemp(prefix=prefix, suffix=suffix)
|
||||
|
Reference in New Issue
Block a user