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
DipSO
tsv2properties
Commits
42b4e979
Commit
42b4e979
authored
Feb 28, 2022
by
dimitri.szabo
Browse files
Revoved check already implemented in click call
parent
4af34589
Pipeline
#51527
failed with stage
in 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tsv2properties.py
View file @
42b4e979
...
...
@@ -99,9 +99,6 @@ def tsvsToProperties(tsv_dir: str, properties_dir: str)-> None:
tsv_dir: Chemin vers le répertoire contentant les tsvs.
properties_dir: Chemin vers le répertoire où générer les properties.
"""
# Si le chemin ne finit pas par "/" le script change le nom et pas le répertoire
if
not
tsv_dir
.
endswith
(
"/"
):
tsv_dir
+=
"/"
for
file
in
os
.
listdir
(
tsv_dir
):
if
file
.
endswith
(
".tsv"
):
singleTsvToProperties
(
tsv_dir
+
file
,
properties_dir
+
os
.
path
.
splitext
(
tsv
)[
0
]
+
".properties"
)
\ No newline at end of file
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