]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: use raw string during `re.sub` 32218/head
authorMichael Fritch <mfritch@suse.com>
Thu, 12 Dec 2019 15:10:44 +0000 (08:10 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 12 Dec 2019 15:10:44 +0000 (08:10 -0700)
commitb27bef96e3f13213f5e37b33e45f08b1b9eaafb6
tree3fd3f13e8c3b457a5e7a76470923171e01216516
parent7ab50ef35a945dcc94b65de23d18de1b6c45f588
cephadm: use raw string during `re.sub`

cephadm:198: DeprecationWarning: invalid escape sequence \s
  nice_conf = re.sub('\n(\s)+', '\n', raw_conf)

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm