Skip to content

Conversation

@larsewi
Copy link
Contributor

@larsewi larsewi commented May 16, 2025

Fixed syntax error in regex by changing it into a raw string.

$ misc/changelog-generator/changelog-generator --repo  3.25.0..master
/home/larsewi/ntech/cfengine/core/misc/changelog-generator/changelog-generator:192: SyntaxWarning: invalid escape sequence '\('
  match = re.match("^\(cherry picked from commit ([0-9a-f]+)\)", line, re.IGNORECASE)

Signed-off-by: Lars Erik Wik lars.erik.wik@northern.tech

Fixed syntax error in regex by changing it into a raw string.

```
$ misc/changelog-generator/changelog-generator --repo  3.25.0..master
/home/larsewi/ntech/cfengine/core/misc/changelog-generator/changelog-generator:192: SyntaxWarning: invalid escape sequence '\('
  match = re.match("^\(cherry picked from commit ([0-9a-f]+)\)", line, re.IGNORECASE)
```

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi requested a review from olehermanse May 16, 2025 11:17
@mender-test-bot
Copy link

There was an error running your pipeline, see logs for details.

Copy link
Contributor

@jakub-nt jakub-nt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@larsewi larsewi merged commit 4f4ec75 into NorthernTechHQ:master May 16, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants