commit 1794d65e090b747e3a7d0a811082326b00f7c5f4 Author: Jan Tluka jtluka@redhat.com Date: Thu May 14 09:54:49 2015 +0200
ConnectionHandler: import IPRSocket directly
The pyroute2 has fixed issue that we had in the past with isinstance() check. It is possible to do the proper import now.
Signed-off-by: Jan Tluka jtluka@redhat.com Signed-off-by: Ondrej Lichtner olichtne@redhat.com
lnst/Common/ConnectionHandler.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/lnst/Common/ConnectionHandler.py b/lnst/Common/ConnectionHandler.py index 8beaafc..36349dc 100644 --- a/lnst/Common/ConnectionHandler.py +++ b/lnst/Common/ConnectionHandler.py @@ -15,7 +15,7 @@ import select import cPickle import socket from _multiprocessing import Connection -from pyroute2.netlink.rtnl import IPRSocket +from pyroute2 import IPRSocket
def send_data(s, data): try:
lnst-developers@lists.fedorahosted.org