mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 00:44:01 -07:00
PEP 8 whitespace cleanup. (#20783)
* PEP 8 E271 whitespace cleanup. * PEP 8 W293 whitespace cleanup. * Fix whitespace issue from recent PR.
This commit is contained in:
parent
802fbcadf8
commit
95789f3949
132 changed files with 287 additions and 313 deletions
|
@ -495,10 +495,10 @@ def get_interface_mode(interface, intf_type, module):
|
|||
def get_pim_interface(module, interface):
|
||||
pim_interface = {}
|
||||
command = 'show ip pim interface {0}'.format(interface)
|
||||
|
||||
|
||||
body = execute_show_command(command, module,
|
||||
command_type='cli_show_ascii', text=True)
|
||||
|
||||
|
||||
if body:
|
||||
if 'not running' not in body[0]:
|
||||
body = execute_show_command(command, module)
|
||||
|
@ -552,7 +552,7 @@ def get_pim_interface(module, interface):
|
|||
return {}
|
||||
|
||||
command = 'show run interface {0}'.format(interface)
|
||||
|
||||
|
||||
body = execute_show_command(command, module, command_type='cli_show_ascii')
|
||||
|
||||
jp_configs = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue