Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Francesco Witz
Changelog Generator
Commits
302da861
Commit
302da861
authored
Feb 13, 2022
by
Francesco Witz
Browse files
fix: tool rules editor subject length casting issue
parent
7e307eaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
chlog.py
View file @
302da861
...
...
@@ -358,7 +358,7 @@ def rules():
while
new_length
==
""
and
not
new_length
.
isnumeric
()
and
new_length
!=
"q"
:
new_length
=
input
(
"New subject length (q to quit): "
)
if
new_length
!=
"q"
:
config
[
'commit-subject-length'
]
=
new_length
config
[
'commit-subject-length'
]
=
int
(
new_length
)
# Asking user if he wants to edit anything else
edition
=
""
while
edition
==
""
and
not
edition
in
[
"y"
,
"n"
]:
...
...
Write
Preview
Supports
Markdown
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