Skip to content
Snippets Groups Projects
Commit 477dc450 authored by Phil's avatar Phil
Browse files

Added MIBDict.__len__() attribute (patch from D. Loss, ticket #97)

parent 7f834d9c
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,8 @@ class MIBDict(DADict):
s += '\t"%s" -> "%s" [label="%s"];\n' % (parent, o,remainder)
s += "}\n"
do_graph(s, **kargs)
def __len__(self):
return len(self.keys())
def mib_register(ident, value, the_mib, unresolved):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment