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
tails
jenkins-tools
Commits
9f7cb532
Commit
9f7cb532
authored
Jun 06, 2021
by
intrigeri
Browse files
lint_po: ignore torbrowser-launcher's PO files
We don't use them.
parent
3bb31234
Changes
1
Hide whitespace changes
Inline
Side-by-side
slaves/lint_po
View file @
9f7cb532
...
...
@@ -297,8 +297,11 @@ def main(logger) -> None:
args
.
files
+=
glob
.
glob
(
"**/*.po"
,
recursive
=
True
)
# Skip files in ./tmp/
files
=
list
(
itertools
.
filterfalse
(
lambda
f
:
f
.
startswith
(
'tmp/'
),
args
.
files
))
files
=
list
(
itertools
.
filterfalse
(
lambda
f
:
f
.
startswith
(
'tmp/'
)
or
f
.
startswith
(
'submodules/torbrowser-launcher/'
),
args
.
files
))
if
not
files
:
if
not
args
.
cached
:
...
...
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