]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script: fix invalid escape sequences 69687/head
authorKefu Chai <k.chai@proxmox.com>
Tue, 23 Jun 2026 23:11:24 +0000 (07:11 +0800)
committerKefu Chai <k.chai@proxmox.com>
Tue, 23 Jun 2026 23:11:26 +0000 (07:11 +0800)
commita33b19eb68f920afbf0522d9de3b8002e3f1d649
treec1b18495a64d686eef309b41e4398a7efb7553e4
parent560904cdf327da9b93ad3b6c7fff387d6ce6dbd2
script: fix invalid escape sequences

Python 3.12 warns on invalid escape sequences in non-raw strings:
```
  ceph-release-notes:45: SyntaxWarning: invalid escape sequence '\d'
  cpatch.py:465: SyntaxWarning: invalid escape sequence '\;'
```

In `cpatch.py`, use raw strings for the two Dockerfile RUN lines so
their find -exec ... \; keeps the literal backslash-semicolon.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
src/script/cpatch.py