]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd/pybind: fix unsupported format character of %lx
authorsongweibin <song.weibin@zte.com.cn>
Wed, 11 Sep 2019 02:46:48 +0000 (10:46 +0800)
committersongweibin <song.weibin@zte.com.cn>
Wed, 11 Sep 2019 08:19:06 +0000 (16:19 +0800)
commit083dfbcf672d6eef8cb01ca94a7cf206751de554
tree98b61228b9a91465493bd382ccb875d1293efb64
parent9e7ecf708a3f3f1683561b559808476d3001b383
rbd/pybind: fix unsupported format character of %lx

Fixes:
```
>>> image.remove_snap2('snap', 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "rbd.pyx", line 3326, in rbd.Image.remove_snap2 (rbd.c:30069)
ValueError: unsupported format character 'l' (0x6c) at index 48
>>>
```

Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/pybind/rbd/rbd.pyx