diff options
author | elie <elie> | 2015-11-07 20:54:48 +0000 |
---|---|---|
committer | elie <elie> | 2015-11-07 20:54:48 +0000 |
commit | e5f66c212b0c30fb29cb1a897c1dccbb05d1df4b (patch) | |
tree | 450521e53819707a3d0d2d409b9f0dcc0c289a29 /pysnmp/smi | |
parent | b2f25feb30eede092e4532efd10f16db39bec102 (diff) | |
download | pysnmp-git-e5f66c212b0c30fb29cb1a897c1dccbb05d1df4b.tar.gz |
pass ObjectIdentity.tagSet to inner OID
Diffstat (limited to 'pysnmp/smi')
-rw-r--r-- | pysnmp/smi/rfc1902.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/smi/rfc1902.py b/pysnmp/smi/rfc1902.py index 5482c67f..495d0048 100644 --- a/pysnmp/smi/rfc1902.py +++ b/pysnmp/smi/rfc1902.py @@ -568,9 +568,9 @@ class ObjectIdentity: if self.__state & self.stClean: if attr in ('asTuple', 'clone', 'subtype', 'isPrefixOf', 'isSameTypeWith', 'isSuperTypeOf', 'getTagSet', - 'getEffectiveTagSet', 'getTagMap', 'index'): + 'getEffectiveTagSet', 'getTagMap', 'tagSet', 'index'): return getattr(self.__oid, attr) - raise AttributeError + raise AttributeError(attr) else: raise SmiError('%s object not properly initialized for accessing %s' % (self.__class__.__name__, attr)) |