summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorelie <elie>2012-04-27 11:04:28 +0000
committerelie <elie>2012-04-27 11:04:28 +0000
commit8d8b8cd8dfa66b67d579f7e8c78ef149f10512ba (patch)
treeea7e659da0e3bb19bc99016485af7abc7f8a05f6 /tools
parentac1fe67e09366e8db7723c5b7052d1dc33220cc6 (diff)
downloadpysnmp-8d8b8cd8dfa66b67d579f7e8c78ef149f10512ba.tar.gz
fix to libsmi2pysnmp tool to make it working again in Python < 2.7
Diffstat (limited to 'tools')
-rw-r--r--tools/libsmi2pysnmp4
1 files changed, 2 insertions, 2 deletions
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