MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit c5cf1ad2 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix bug in solution sort: \n was not written

parent 666193d0
......@@ -10,11 +10,15 @@ def sort_solutions(file):
with open(file, 'r+') as fd:
for line in fd:
line = line.rstrip('\n')
# Remove possible \t separator from first line (frontier solution)
line = line.rstrip('\n')
stripped_line = line.rstrip('\t').replace('\t', ' ')
if stripped_line[0] not in ('%', '=', ' ', ''):
# Next line if empty line
if stripped_line == '':
continue
if stripped_line[0] not in ('%', '=', ' '):
# print(stripped_line)
# Sort in lower case, remove ' ' empty elements
solutions[line] = \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment