Really fix python 2.4 compatibility
PR #1544 didn't remove the keyword argument 'delete' not existing in `tempfile.NamedTemporaryFile()` in python 2.4
This commit is contained in:
parent
c21dd8c13b
commit
945ac72217
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ def main():
|
|||
message = ''
|
||||
f = open (limits_conf, 'r')
|
||||
# Tempfile
|
||||
nf = tempfile.NamedTemporaryFile(delete = False)
|
||||
nf = tempfile.NamedTemporaryFile()
|
||||
|
||||
found = False
|
||||
new_value = value
|
||||
|
|
Loading…
Reference in a new issue