]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/insights: fix python3 DeprecationWarning 34895/head
authorMichael Fritch <mfritch@suse.com>
Mon, 4 May 2020 18:37:11 +0000 (12:37 -0600)
committerMichael Fritch <mfritch@suse.com>
Mon, 4 May 2020 18:37:11 +0000 (12:37 -0600)
commit41ffb701eca6280df00cd526edfce3a9c851b53b
tree4930ecc5ed15b00b8a862af5fbed057329138a0c
parenta8762af4af0468e25d305da30458dc2e5c1309d1
mgr/insights: fix python3 DeprecationWarning

insights/module.py:167: DeprecationWarning: invalid escape sequence \d
    r = "ceph version (?P<release>\d+)\.(?P<major>\d+)\.(?P<minor>\d+)"

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/insights/module.py