![]() The property name used in __str__ should be local_port instead of localPort to get rid of the AttributeError. >>> str(s) Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../netlink/core.py", line 172, in __str__ return 'nlsock<{0}>'.format(self.localPort) AttributeError: 'Socket' object has no attribute 'localPort' Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Thomas Graf <tgraf@suug.ch> |
||
---|---|---|
.. | ||
doc | ||
examples | ||
netlink | ||
.gitignore | ||
Makefile.am | ||
README | ||
setup.py.in |
*************************************************************************** NOTE: The python wrapper is experimental and may or may not work. *************************************************************************** For the brave: (requires an installed libnl) - $ python ./setup.py build - $ sudo python ./setup.py install