Skip to content

Commit 7bf0eca

Browse files
ci(gnu-backtrace): Use distinct variable name
1 parent 0cbf62f commit 7bf0eca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/integrations/gnu_backtrace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
FUNCTION_RE = r"[^@]+?"
1717
HEX_ADDRESS = r"\s+@\s+0x[0-9a-fA-F]+"
1818

19-
FRAME_RE = r"""
19+
_FRAME_RE_PATTERN = r"""
2020
^(?P<index>\d+)\.\s+(?P<function>{FUNCTION_RE}){HEX_ADDRESS}(?:\s+in\s+(?P<package>.+))?$
2121
""".format(
2222
FUNCTION_RE=FUNCTION_RE,
2323
HEX_ADDRESS=HEX_ADDRESS,
2424
)
2525

26-
FRAME_RE = re.compile(FRAME_RE, re.MULTILINE | re.VERBOSE)
26+
FRAME_RE = re.compile(_FRAME_RE_PATTERN, re.MULTILINE | re.VERBOSE)
2727

2828

2929
class GnuBacktraceIntegration(Integration):

0 commit comments

Comments
 (0)