mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
PEP 8 indent cleanup. (#20800)
* PEP 8 E121 cleanup. * PEP 8 E126 cleanup. * PEP 8 E122 cleanup.
This commit is contained in:
parent
1c6bb4add9
commit
10d9318de7
244 changed files with 2873 additions and 2973 deletions
|
@ -382,12 +382,12 @@ def _timedelta_total_seconds(timedelta):
|
|||
|
||||
def get_connection_state_id(state):
|
||||
connection_state_id = {
|
||||
'ESTABLISHED': '01',
|
||||
'SYN_SENT': '02',
|
||||
'SYN_RECV': '03',
|
||||
'FIN_WAIT1': '04',
|
||||
'FIN_WAIT2': '05',
|
||||
'TIME_WAIT': '06',
|
||||
'ESTABLISHED': '01',
|
||||
'SYN_SENT': '02',
|
||||
'SYN_RECV': '03',
|
||||
'FIN_WAIT1': '04',
|
||||
'FIN_WAIT2': '05',
|
||||
'TIME_WAIT': '06',
|
||||
}
|
||||
return connection_state_id[state]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue