diff options
author | elie <elie> | 2013-12-02 13:34:17 +0000 |
---|---|---|
committer | elie <elie> | 2013-12-02 13:34:17 +0000 |
commit | 93b411d91c1b1fcbd87f78ed9d6ca56ad4d8e067 (patch) | |
tree | 0c62ffabd74d4d5519109b5372a4f0a1f75c183e /pysnmp/proto | |
parent | c0c53b8f835d5020b218cc2a21acc8960f39a431 (diff) | |
download | pysnmp-93b411d91c1b1fcbd87f78ed9d6ca56ad4d8e067.tar.gz |
_verifyComponent() in newer pyasn1 takes keyword parameters
Diffstat (limited to 'pysnmp/proto')
-rw-r--r-- | pysnmp/proto/rfc1155.py | 2 |
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): |