Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon Chabot
hg-autochangelog
Commits
cdb51dd0bacf
Commit
91568fc0
authored
Mar 18, 2021
by
Simon Chabot
Browse files
fix: strip issues url/label
parent
d771fc1d58cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
hg_autochangelog/main.py
View file @
cdb51dd0
...
@@ -90,7 +90,7 @@ class Change:
...
@@ -90,7 +90,7 @@ class Change:
for
line
in
body
:
for
line
in
body
:
match_issue
=
cls
.
RE_PARSE_ISSUE
.
match
(
line
)
match_issue
=
cls
.
RE_PARSE_ISSUE
.
match
(
line
)
if
match_issue
:
if
match_issue
:
issue
=
match_issue
[
"issue"
]
issue
=
match_issue
[
"issue"
]
.
strip
()
continue
continue
match_breaking_change
=
cls
.
RE_PARSE_BREAKING_CHANGE
.
match
(
line
)
match_breaking_change
=
cls
.
RE_PARSE_BREAKING_CHANGE
.
match
(
line
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment