]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/rbd.pyx: Return something useful from str() and repr()
authorHector Martin <marcan@marcan.st>
Thu, 3 Dec 2015 11:51:35 +0000 (20:51 +0900)
committerHector Martin <marcan@marcan.st>
Thu, 3 Dec 2015 12:40:16 +0000 (21:40 +0900)
commit4e15c039976462944399aa1bcd8d8819b3351960
tree920c5f28ebe1f92d07834197636258c9c6fab568
parentbc091ed91f3a6a009dc13fe402611005b69f3611
pybind/rbd.pyx: Return something useful from str() and repr()

str() defaults to repr(), so implement __repr__ instead.

Signed-off-by: Hector Martin <marcan@marcan.st>
src/pybind/rbd.pyx