summaryrefslogtreecommitdiff
path: root/pysnmp/smi/mibs
diff options
context:
space:
mode:
Diffstat (limited to 'pysnmp/smi/mibs')
-rw-r--r--pysnmp/smi/mibs/SNMPv2-SMI.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pysnmp/smi/mibs/SNMPv2-SMI.py b/pysnmp/smi/mibs/SNMPv2-SMI.py
index 40ac6198..35e24635 100644
--- a/pysnmp/smi/mibs/SNMPv2-SMI.py
+++ b/pysnmp/smi/mibs/SNMPv2-SMI.py
@@ -743,6 +743,8 @@ class ManagedMibObject(ObjectType):
In case of an error, the `error` key in the `context` dict will contain
an exception object.
"""
+ name, val = varBind
+
(debug.logger & debug.FLAG_INS and
debug.logger('%s: readTestNext(%s, %r)' % (self, name, val)))
@@ -788,6 +790,8 @@ class ManagedMibObject(ObjectType):
In case of an error, the `error` key in the `context` dict will contain
an exception object.
"""
+ name, val = varBind
+
(debug.logger & debug.FLAG_INS and
debug.logger('%s: readGetNext(%s, %r)' % (self, name, val)))