You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2024/05/25 13:39:25 UTC
(couchdb) 05/05: fix: new python compat
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch doc/whats-new-3.4.0
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 1fe9ffdca87feb4bf312f601b2e1462809f88452
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Sat May 25 15:37:26 2024 +0200
fix: new python compat
---
src/docs/ext/linter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/docs/ext/linter.py b/src/docs/ext/linter.py
index 0efa2b067..5b7844b89 100644
--- a/src/docs/ext/linter.py
+++ b/src/docs/ext/linter.py
@@ -107,7 +107,7 @@ def silent_scream(file):
else:
IGNORE_ERROR = False
- match = re.match("\s*.. lint: ignore errors for the next (\d+) line?", line)
+ match = re.match(r'\s*.. lint: ignore errors for the next (\d+) line?', line)
if match:
# +1 for empty line right after comment
counter = int(match.group(1)) + 1