summaryrefslogtreecommitdiff
path: root/pysnmp
diff options
context:
space:
mode:
authorelie <elie>2015-05-31 19:09:45 +0000
committerelie <elie>2015-05-31 19:09:45 +0000
commitc76c7c3dfb6b4f82a17db3a2c9c959a37f38d034 (patch)
treeb462638bc5bb4abd51e033430c26492ed07c3664 /pysnmp
parentef82e705d9c72ac62a62d0875680814763235643 (diff)
downloadpysnmp-git-c76c7c3dfb6b4f82a17db3a2c9c959a37f38d034.tar.gz
export ObjectIdentifier from pyasn1
Diffstat (limited to 'pysnmp')
-rw-r--r--pysnmp/proto/rfc1902.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pysnmp/proto/rfc1902.py b/pysnmp/proto/rfc1902.py
index e1d02054..3c79418d 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)