diff options
author | elie <elie> | 2013-03-15 20:44:59 +0000 |
---|---|---|
committer | elie <elie> | 2013-03-15 20:44:59 +0000 |
commit | 5732e9f42bb48faaf9f43282000547016ce87747 (patch) | |
tree | c0776ee83ea743c1034af0caf93128473b616628 /examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py | |
parent | 14342b12b11dc9a8d28e47100b473cfd3522e6ec (diff) | |
download | pysnmp-git-5732e9f42bb48faaf9f43282000547016ce87747.tar.gz |
cosmetic fix to printout the exact OID as pointed out by errorIndex
Diffstat (limited to 'examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py')
-rw-r--r-- | examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py b/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py index af66b9a6..58a02325 100644 --- a/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py +++ b/examples/v3arch/asyncore/manager/cmdgen/getbulk-multiple-oids-to-eom.py @@ -56,7 +56,7 @@ def cbFun(sendRequesthandle, errorIndication, errorStatus, errorIndex, if errorStatus: print('%s at %s' % ( errorStatus.prettyPrint(), - errorIndex and varBindTable[-1][int(errorIndex)-1] or '?' + errorIndex and varBindTable[-1][int(errorIndex)-1][0] or '?' ) ) return # stop on error |