pybind/mgr: convert str to int using "int()" 27926/head
authorKefu Chai <kchai@redhat.com>
Thu, 2 May 2019 15:17:29 +0000 (23:17 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 2 May 2019 15:17:31 +0000 (23:17 +0800)
commite484413dbde67d3dabb707750ff48232c0ba331f
tree9079375ec5ba9ec651d71f93cfbb3d8100b3fe78
parentd712aac9166c96c942cdb922ef25d7e86b5fe6d9
pybind/mgr: convert str to int using "int()"

on python3, integers are of unlimited size. while on python2, "long"
integers have unlimited size.

Fixes: https://tracker.ceph.com/issues/38627
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/insights/module.py