Skip to content

Commit 1cf2be1

Browse files
authored
Merge pull request #5806 from larsewi/changelog
changelog-generator: Fixed syntax error in regex
2 parents 7e48480 + 0072e97 commit 1cf2be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/changelog-generator/changelog-generator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ for repo in repos:
189189
del ENTRIES[linked_sha]
190190
continue
191191

192-
match = re.match("^\(cherry picked from commit ([0-9a-f]+)\)", line, re.IGNORECASE)
192+
match = re.match(r"^\(cherry picked from commit ([0-9a-f]+)\)", line, re.IGNORECASE)
193193
if match:
194194
if log_entry:
195195
add_entry(sha, log_entry)

0 commit comments

Comments
 (0)