mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
PEP 8 W291 whitespace cleanup.
This commit is contained in:
parent
95789f3949
commit
d913f69ba1
166 changed files with 493 additions and 565 deletions
|
@ -433,7 +433,7 @@ def main():
|
|||
if params['exclude_hosts'] is not None and state != 'drained':
|
||||
module.fail_json(msg="exclude_hosts should only be with state=drained")
|
||||
for _connection_state in params['active_connection_states']:
|
||||
try:
|
||||
try:
|
||||
get_connection_state_id(_connection_state)
|
||||
except:
|
||||
module.fail_json(msg="unknown active_connection_state ("+_connection_state+") defined")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue