mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
PEP 8 E111 & E114 cleanup. (#20838)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user