Skip to content
Snippets Groups Projects
Commit 035ebc56 authored by Taya Snijder's avatar Taya Snijder
Browse files

L2SS-1220 formatting

parent 8b146b69
Branches
Tags
1 merge request!576L2SS-1220 added connection test attribute
......@@ -323,7 +323,9 @@ def test_SNMP_connection(community, host, port=161):
if errorIndication or errorStatus or errorIndex:
# if not (None, 0, 0) there has been some error
logger.debug(f"Connection test failed. errorIndication: {errorIndication}, errorStatus: {errorStatus}, errorIndex: {errorIndex}")
logger.debug(
f"Connection test failed. errorIndication: {errorIndication}, errorStatus: {errorStatus}, errorIndex: {errorIndex}"
)
return False
else:
return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment