self is module, no module in self as self is

pull/83951/head
Brian Coca 2 months ago
parent c71d06af93
commit 10938ae9aa

@ -1600,9 +1600,9 @@ class AnsibleModule(object):
b_dest = to_bytes(dest, errors='surrogate_or_strict')
if not os.path.isabs(src):
self.module.warn('The source path for atomic_move is not an absolute path, this might not work and will be enforced in the future')
self.warn('The source path for atomic_move is not an absolute path, this might not work and will be enforced in the future')
if not os.path.isabs(dest):
self.module.warn('The desitination path for atomic_move is not an absolute path, this might not work and will be enforced in the future')
self.warn('The desitination path for atomic_move is not an absolute path, this might not work and will be enforced in the future')
if os.path.exists(b_dest) and keep_dest_attrs:
try:

Loading…
Cancel
Save