Really fix python 2.4 compatibility

PR #1544 didn't remove the keyword argument 'delete' not existing in `tempfile.NamedTemporaryFile()` in python 2.4
pull/18777/head
Alexandre Garnier 8 years ago committed by Matt Clay
parent c21dd8c13b
commit 945ac72217

@ -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…
Cancel
Save