Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] Fix getting git commit url #3453

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

csordasmarton
Copy link
Contributor

It is possible that a git commit url regex contains a group, which is optional, so the value can be None. In this case when replacing the group name with the value in the url will fail, because None can't be used in replace. For this reason if the value is None, we will skip it from the replacement.

It is possible that a git commit url regex contains a group, which is
optional, so the value can be None. In this case when replacing the
group name with the value in the url will fail, because None can't be
used in replace. For this reason if the value is None, we will skip
it from the replacement.
@csordasmarton csordasmarton merged commit d2db1b4 into Ericsson:master Oct 14, 2021
@csordasmarton csordasmarton deleted the fix_git_commit_url branch January 28, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants