From 55d59761977630fd27debb4acb4c858be0e7a215 Mon Sep 17 00:00:00 2001 From: Jason Gunthorpe Date: Tue, 2 Aug 2016 13:55:51 -0600 Subject: [PATCH] Fix LazyIBPath.__str__ Was calling __rep__ instead --- rdma/path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdma/path.py b/rdma/path.py index 27de31f..c400ff5 100644 --- a/rdma/path.py +++ b/rdma/path.py @@ -436,7 +436,7 @@ def __str__(self): cls = self.__class__ object.__setattr__(self,"__class__",rdma.path.IBPath); cls._unpack_rcv(self); - return rdma.path.IBPath.__repr__(self); + return rdma.path.IBPath.__str__(self); def get_mad_path(mad,ep_addr,**kwargs): """Query the SA and return a path for *ep_addr*.