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(a)redhat.com>
---
lnst/Common/ConnectionHandler.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
1.9.3
Show replies by date