Make bracketing and indenting consistent

This commit is contained in:
Joshua Boniface 2019-07-05 00:32:04 -04:00
parent 82bf8a8406
commit 80ea54d40f
1 changed files with 44 additions and 41 deletions

View File

@ -724,7 +724,8 @@ def format_list(network_list):
net_dhcp6_flag='DHCPv6', net_dhcp6_flag='DHCPv6',
net_v4_flag='IPv4', net_v4_flag='IPv4',
net_dhcp4_flag='DHCPv4', net_dhcp4_flag='DHCPv4',
)) )
)
for network_information in network_list: for network_information in network_list:
v6_flag_colour, v4_flag_colour, dhcp6_flag_colour, dhcp4_flag_colour = getOutputColours(network_information) v6_flag_colour, v4_flag_colour, dhcp6_flag_colour, dhcp4_flag_colour = getOutputColours(network_information)
@ -821,7 +822,8 @@ def format_list_dhcp(dhcp_lease_list):
lease_ip4_address='IP Address', lease_ip4_address='IP Address',
lease_mac_address='MAC Address', lease_mac_address='MAC Address',
lease_timestamp='Timestamp' lease_timestamp='Timestamp'
)) )
)
for dhcp_lease_information in dhcp_lease_list: for dhcp_lease_information in dhcp_lease_list:
dhcp_lease_list_output.append('{bold}\ dhcp_lease_list_output.append('{bold}\
@ -884,7 +886,8 @@ def format_list_acl(acl_list):
acl_order='Order', acl_order='Order',
acl_description='Description', acl_description='Description',
acl_rule='Rule', acl_rule='Rule',
)) )
)
for acl_information in acl_list: for acl_information in acl_list:
acl_list_output.append('{bold}\ acl_list_output.append('{bold}\