diff options
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | tools/libsmi2pysnmp | 4 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Revision 4.2.3 +-------------- + +- Fix to libsmi2pysnmp tool to make it working again in Python < 2.7 + Revision 4.2.2 -------------- @@ -42,7 +42,7 @@ and install into your system. params.update( { 'name': 'pysnmp', - 'version': '4.2.2', + 'version': '4.2.3', 'description': 'SNMP framework', 'author': 'Ilya Etingof', 'author_email': 'ilya@glas.net', diff --git a/tools/libsmi2pysnmp b/tools/libsmi2pysnmp index 50ebd85..caf6700 100644 --- a/tools/libsmi2pysnmp +++ b/tools/libsmi2pysnmp @@ -357,11 +357,11 @@ if 'typedefs' in mib: while len(typedefs_left): delayed = [] for t in typedefs_left: - if t[1]['parent module']['name'] in { \ + if t[1]['parent module']['name'] in ( \ # implicitly imported MIBs 'SNMPv2-TC', 'SNMPv2-SMI' - } or t[1]['parent module']['type'] in typedefs_seen: + ) or t[1]['parent module']['type'] in typedefs_seen: typedefs_seen.add(t[0]) typedefs.append(t) continue |