diff options
author | elie <elie> | 2012-08-27 07:55:44 +0000 |
---|---|---|
committer | elie <elie> | 2012-08-27 07:55:44 +0000 |
commit | cdd2190728784615183010144d81ab39d41e5a1b (patch) | |
tree | d0ebcac9ef57ae2080886b4a2af1723f7c0f0b33 | |
parent | 3a939c1348db608c8285919285fbfa74db9a4d20 (diff) | |
download | pysnmp-cdd2190728784615183010144d81ab39d41e5a1b.tar.gz |
consider MIB symbol is fully resolved ONLY if the resultant MIB node
belongs to either MibScalar or MibTableColumn (e.g. having syntax attr)
-rw-r--r-- | pysnmp/entity/rfc3413/oneliner/mibvar.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pysnmp/entity/rfc3413/oneliner/mibvar.py b/pysnmp/entity/rfc3413/oneliner/mibvar.py index 0caaedc..ee58d58 100644 --- a/pysnmp/entity/rfc3413/oneliner/mibvar.py +++ b/pysnmp/entity/rfc3413/oneliner/mibvar.py @@ -146,8 +146,7 @@ class MibVariable: self.__indices = ( rfc1902.ObjectName(suffix), ) else: self.__indices = ( rfc1902.ObjectName(suffix), ) - if suffix: - self.__state |= self.stUnresolved + self.__state |= self.stUnresolved self.__state |= self.stClean return self elif len(self.__args) > 1: # MIB, symbol[, index, index ...] |