Skip to content

Commit

Permalink
Fix LazyIBPath.__str__
Browse files Browse the repository at this point in the history
Was calling __rep__  instead
  • Loading branch information
jgunthorpe committed Aug 2, 2016
1 parent 46cebbb commit 55d5976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdma/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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*.
Expand Down

0 comments on commit 55d5976

Please sign in to comment.