diff --git a/examples/hlapi/asyncio/manager/cmdgen/multiple-concurrent-queries-over-ipv4-and-ipv6.py b/examples/hlapi/asyncio/manager/cmdgen/multiple-concurrent-queries-over-ipv4-and-ipv6.py index 3b97ff8d8..76a806870 100644 --- a/examples/hlapi/asyncio/manager/cmdgen/multiple-concurrent-queries-over-ipv4-and-ipv6.py +++ b/examples/hlapi/asyncio/manager/cmdgen/multiple-concurrent-queries-over-ipv4-and-ipv6.py @@ -22,7 +22,7 @@ async def getone(snmpEngine, hostname): - get_result = await getCmd( + errorIndication, errorStatus, errorIndex, varBinds = await getCmd( snmpEngine, CommunityData("public"), UdpTransportTarget(hostname), @@ -30,7 +30,6 @@ async def getone(snmpEngine, hostname): ObjectType(ObjectIdentity("SNMPv2-MIB", "sysDescr", 0)), ) - errorIndication, errorStatus, errorIndex, varBinds = await get_result if errorIndication: print(errorIndication) elif errorStatus: