From a24058b2562e8abc91f1c61e83148e6d67ca975a Mon Sep 17 00:00:00 2001 From: elie Date: Sun, 31 May 2015 19:09:45 +0000 Subject: export ObjectIdentifier from pyasn1 --- pysnmp/proto/rfc1902.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pysnmp/proto/rfc1902.py b/pysnmp/proto/rfc1902.py index e1d0205..3c79418 100644 --- a/pysnmp/proto/rfc1902.py +++ b/pysnmp/proto/rfc1902.py @@ -43,6 +43,8 @@ class OctetString(univ.OctetString): self, value, implicitTag, explicitTag, subtypeSpec ).setFixedLength(self.getFixedLength()) +ObjectIdentifier = univ.ObjectIdentifier + class IpAddress(OctetString): tagSet = OctetString.tagSet.tagImplicitly( tag.Tag(tag.tagClassApplication, tag.tagFormatSimple, 0x00) -- cgit v1.2.1