mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ruff: Fix FURB167 Use of regular expression alias.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6a73006723
commit
5af8dfda3e
@@ -147,7 +147,7 @@ NGINX_LOG_LINE_RE = re.compile(
|
||||
(?P<hostname> \S+ ) \s+
|
||||
(?P<duration> \S+ )
|
||||
""",
|
||||
re.X,
|
||||
re.VERBOSE,
|
||||
)
|
||||
|
||||
PYTHON_LOG_LINE_RE = re.compile(
|
||||
@@ -178,7 +178,7 @@ PYTHON_LOG_LINE_RE = re.compile(
|
||||
) \s+ via \s+ (?P<user_agent> .* )
|
||||
\)
|
||||
""",
|
||||
re.X,
|
||||
re.VERBOSE,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user