mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
python3 compatiblity
remove use of basestring deal with configparser
This commit is contained in:
parent
943e4d37f5
commit
5b11494437
5 changed files with 13 additions and 7 deletions
|
@ -168,8 +168,9 @@ class PlaybookExecutor:
|
|||
# send the stats callback for this playbook
|
||||
if self._tqm is not None:
|
||||
if C.RETRY_FILES_ENABLED:
|
||||
retries = list(set(self._tqm._failed_hosts.keys() + self._tqm._unreachable_hosts.keys()))
|
||||
retries.sort()
|
||||
retries = set(self._tqm._failed_hosts.keys())
|
||||
retries.update(self._tqm._unreachable_hosts.keys())
|
||||
retries = sorted(retries)
|
||||
if len(retries) > 0:
|
||||
if C.RETRY_FILES_SAVE_PATH:
|
||||
basedir = C.shell_expand(C.RETRY_FILES_SAVE_PATH)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue