Skip to content

Commit f1bf0b1

Browse files
committed
optional endstring
1 parent b76624f commit f1bf0b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gitlab_release_notes/generate.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import gitlab
22
from .version import __version__
33

4-
def generate_release_notes(project_id, **config):
4+
def generate_release_notes(project_id, endstr = ' <br>', **config):
55
"""
66
Generate the release notes of a gitlab project from the last release
77
@@ -26,7 +26,6 @@ def generate_release_notes(project_id, **config):
2626
user_agent: str = 'python-gitlab/3.1.0',
2727
retry_transient_errors: bool = False,
2828
"""
29-
endstr = ' <br>'
3029

3130
gl = gitlab.Gitlab(**config)
3231
project = gl.projects.get(project_id)

0 commit comments

Comments
 (0)