Commit 79739eb9 authored by Marco Mariani's avatar Marco Mariani

removed bogus __getinitargs__()

parent 65622b9a
...@@ -695,8 +695,7 @@ class Interface(object): ...@@ -695,8 +695,7 @@ class Interface(object):
_, result = callAndRead(['ip', 'addr', 'list', self.name]) _, result = callAndRead(['ip', 'addr', 'list', self.name])
self.attach_to_tap = 'DOWN' in result.split('\n', 1)[0] self.attach_to_tap = 'DOWN' in result.split('\n', 1)[0]
def __getinitargs__(self): # XXX no __getinitargs__, as instances of this class are never deserialized.
return (self.name,)
def getIPv4LocalAddressList(self): def getIPv4LocalAddressList(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment