Merge pull request #37 from NoMoKeTo/patch-1
How about a less confusing repr?
This commit is contained in:
commit
474a374cd6
1 changed files with 1 additions and 1 deletions
2
node.py
2
node.py
|
@ -24,7 +24,7 @@ class Node():
|
|||
self.interfaces[mac] = Interface()
|
||||
|
||||
def __repr__(self):
|
||||
return self.macs.__repr__()
|
||||
return '<Node %s>' % self.macs.__repr__()
|
||||
|
||||
class Interface():
|
||||
def __init__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue