]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/orch: fix python3 DeprecationWarning
authorMichael Fritch <mfritch@suse.com>
Wed, 1 Apr 2020 21:51:43 +0000 (15:51 -0600)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 14 Apr 2020 14:50:50 +0000 (16:50 +0200)
commit75e31bd19e8e270d28f79faf667bd7364d1697e0
tree9e08f63a25c06a6fd7fc32ffcddc0f2aad9fb885
parent3627637a1d92dc8c1d528121538108da8a2bf43a
mgr/orch: fix python3 DeprecationWarning

test_orchestrator/module.py:181: DeprecationWarning: invalid escape sequence \s
    patterns = ['-i\s(\w+)', '--id[\s=](\w+)']

Signed-off-by: Michael Fritch <mfritch@suse.com>
(cherry picked from commit f77defe55174d6f42a8a2d824c22530d11db4f7d)
src/pybind/mgr/test_orchestrator/module.py