diff options
Diffstat (limited to 'examples/v1arch')
-rw-r--r-- | examples/v1arch/asyncore/manager/cmdgen/getnext-pull-whole-mib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/v1arch/asyncore/manager/cmdgen/getnext-pull-whole-mib.py b/examples/v1arch/asyncore/manager/cmdgen/getnext-pull-whole-mib.py index 132d6017..61fddf67 100644 --- a/examples/v1arch/asyncore/manager/cmdgen/getnext-pull-whole-mib.py +++ b/examples/v1arch/asyncore/manager/cmdgen/getnext-pull-whole-mib.py @@ -46,8 +46,10 @@ def cbRecvFun(transportDispatcher, transportDomain, transportAddress, # Report SNMP table for tableRow in varBindTable: for name, val in tableRow: + if val is None: + continue print 'from: %s, %s = %s' % ( - transportAddress, name, val + transportAddress, name.prettyOut(name), val.prettyOut(val) ) # Stop on EOM for oid, val in varBindTable[-1]: |