mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
batch 1 - update Python idiom to 3.7 using pyupgrade (#11341)
* batch 1 - update Python idiom to 3.7 using pyupgrade * add changelog frag * add changelog frag
This commit is contained in:
parent
a0d3bac88c
commit
5b5f7e9e64
19 changed files with 48 additions and 29 deletions
|
|
@ -97,7 +97,7 @@ def not_in_host_file(self, host):
|
|||
try:
|
||||
with open(hf) as host_fh:
|
||||
data = host_fh.read()
|
||||
except IOError:
|
||||
except OSError:
|
||||
hfiles_not_found += 1
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue