]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: fix invalid escape sequence SyntaxWarnings 69795/head
authorKefu Chai <k.chai@proxmox.com>
Mon, 29 Jun 2026 01:36:12 +0000 (09:36 +0800)
committerKefu Chai <k.chai@proxmox.com>
Mon, 29 Jun 2026 01:36:12 +0000 (09:36 +0800)
commit1ccb7561823812430d8e780ae277cbca619d81b3
tree32394f5f3b97e9b3fa13d0ad606276c36df948ba
parent16052666146c8ebb671b2740c226db4d6d1ea03f
qa/cephfs: fix invalid escape sequence SyntaxWarnings

python 3.12 warns on unrecognized escape sequences in string literals.
fuse_mount's admin-socket pyscript and mount's nft payload carry regex
and shell escapes (\., \d, \;) that are meant literally, so make those
strings raw. filesystem's get_mds_addr docstring had a stray \/ in the
example address, which is just a slash, so drop the backslash.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
qa/tasks/cephfs/filesystem.py
qa/tasks/cephfs/fuse_mount.py
qa/tasks/cephfs/mount.py