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:
Alexandre Garnier 2016-08-23 15:03:27 +02:00 committed by Matt Clay
parent c21dd8c13b
commit 945ac72217

View file

@ -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