summaryrefslogtreecommitdiff
path: root/net/test/netlink.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/test/netlink.py')
-rw-r--r--net/test/netlink.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/test/netlink.py b/net/test/netlink.py
index 4e230d4..2c9c757 100644
--- a/net/test/netlink.py
+++ b/net/test/netlink.py
@@ -67,7 +67,7 @@ class NetlinkSocket(object):
def _Debug(self, s):
if self.DEBUG:
- print s
+ print(s)
def _NlAttr(self, nla_type, data):
datalen = len(data)
@@ -212,7 +212,7 @@ class NetlinkSocket(object):
self._Debug(" %s" % nlmsghdr)
if nlmsghdr.type == NLMSG_ERROR or nlmsghdr.type == NLMSG_DONE:
- print "done"
+ print("done")
return (None, None), data
nlmsg, data = cstruct.Read(data, msgtype)