mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
committed by
Matt Clay
parent
c21dd8c13b
commit
945ac72217
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user