mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-23 06:21:43 -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
|
@ -279,7 +279,7 @@ def set_port_disabled_permanent(zone, port, protocol):
|
|||
def get_source(zone, source):
|
||||
fw_zone, fw_settings = get_fw_zone_settings(zone)
|
||||
if source in fw_settings.getSources():
|
||||
return True
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
@ -317,7 +317,7 @@ def get_interface_permanent(zone, interface):
|
|||
fw_zone, fw_settings = get_fw_zone_settings(zone)
|
||||
|
||||
if interface in fw_settings.getInterfaces():
|
||||
return True
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue