summaryrefslogtreecommitdiff
path: root/pysnmp/proto
diff options
context:
space:
mode:
authorelie <elie>2013-12-02 13:34:17 +0000
committerelie <elie>2013-12-02 13:34:17 +0000
commit93b411d91c1b1fcbd87f78ed9d6ca56ad4d8e067 (patch)
tree0c62ffabd74d4d5519109b5372a4f0a1f75c183e /pysnmp/proto
parentc0c53b8f835d5020b218cc2a21acc8960f39a431 (diff)
downloadpysnmp-93b411d91c1b1fcbd87f78ed9d6ca56ad4d8e067.tar.gz
_verifyComponent() in newer pyasn1 takes keyword parameters
Diffstat (limited to 'pysnmp/proto')
-rw-r--r--pysnmp/proto/rfc1155.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/proto/rfc1155.py b/pysnmp/proto/rfc1155.py
index 489de66..6f67f0a 100644
--- a/pysnmp/proto/rfc1155.py
+++ b/pysnmp/proto/rfc1155.py
@@ -67,7 +67,7 @@ class ObjectName(univ.ObjectIdentifier): pass
class TypeCoercionHackMixIn: # XXX
# Reduce ASN1 type check to simple tag check as SMIv2 objects may
# not be constraints-compatible with those used in SNMP PDU.
- def _verifyComponent(self, idx, value):
+ def _verifyComponent(self, idx, value, **kwargs):
componentType = self._componentType
if componentType:
if idx >= len(componentType):