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 = ''
|
message = ''
|
||||||
f = open (limits_conf, 'r')
|
f = open (limits_conf, 'r')
|
||||||
# Tempfile
|
# Tempfile
|
||||||
nf = tempfile.NamedTemporaryFile(delete = False)
|
nf = tempfile.NamedTemporaryFile()
|
||||||
|
|
||||||
found = False
|
found = False
|
||||||
new_value = value
|
new_value = value
|
||||||
|
|
Loading…
Reference in a new issue