mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
parent
1609afbd12
commit
cb76200c7d
119 changed files with 339 additions and 378 deletions
|
@ -452,9 +452,9 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
if mystat.get('failed'):
|
||||
msg = mystat.get('module_stderr')
|
||||
if not msg:
|
||||
msg = mystat.get('module_stdout')
|
||||
msg = mystat.get('module_stdout')
|
||||
if not msg:
|
||||
msg = mystat.get('msg')
|
||||
msg = mystat.get('msg')
|
||||
raise AnsibleError('Failed to get information on remote file (%s): %s' % (path, msg))
|
||||
|
||||
if not mystat['stat']['exists']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue