parent
1e85facf36
commit
a26a2841ff
1 changed files with 1 additions and 0 deletions
|
@ -2538,6 +2538,7 @@ class AnsibleModule(object):
|
||||||
# sadly there are some situations where we cannot ensure atomicity, but only if
|
# sadly there are some situations where we cannot ensure atomicity, but only if
|
||||||
# the user insists and we get the appropriate error we update the file unsafely
|
# the user insists and we get the appropriate error we update the file unsafely
|
||||||
try:
|
try:
|
||||||
|
out_dest = in_src = None
|
||||||
try:
|
try:
|
||||||
out_dest = open(dest, 'wb')
|
out_dest = open(dest, 'wb')
|
||||||
in_src = open(src, 'rb')
|
in_src = open(src, 'rb')
|
||||||
|
|
Loading…
Reference in a new issue