diff options
author | Ilya Etingof <etingof@gmail.com> | 2017-10-18 11:45:02 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2017-10-18 11:45:02 +0200 |
commit | 1065d25a16a6fa8dcb7ce98155f2d1babcff6ed5 (patch) | |
tree | 600de9ca4c2a3ba84338e9a8ac36af03556d51f6 /pysnmp/smi | |
parent | 2d75ac5da1c88a7e209c76cf43526732f4546cd4 (diff) | |
download | pysnmp-git-1065d25a16a6fa8dcb7ce98155f2d1babcff6ed5.tar.gz |
make sure to pass an initializer to ASN.1 Null()
This is a prerequisite for pyasn1 0.4.x
Diffstat (limited to 'pysnmp/smi')
-rw-r--r-- | pysnmp/smi/rfc1902.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/smi/rfc1902.py b/pysnmp/smi/rfc1902.py index 57367d94..aced85ac 100644 --- a/pysnmp/smi/rfc1902.py +++ b/pysnmp/smi/rfc1902.py @@ -688,7 +688,7 @@ class ObjectType(object): -------- >>> from pysnmp.smi.rfc1902 import * >>> ObjectType(ObjectIdentity('1.3.6.1.2.1.1.1.0')) - ObjectType(ObjectIdentity('1.3.6.1.2.1.1.1.0'), Null()) + ObjectType(ObjectIdentity('1.3.6.1.2.1.1.1.0'), Null('')) >>> ObjectType(ObjectIdentity('SNMPv2-MIB', 'sysDescr', 0), 'Linux i386') ObjectType(ObjectIdentity('SNMPv2-MIB', 'sysDescr', 0), 'Linux i386') |