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
Infra
CI Jobs
Official Devices Validator
Commits
439cd4d5
Commit
439cd4d5
authored
Dec 11, 2021
by
José Henrique
Browse files
Fix up validator
parent
093e2342
Changes
1
Hide whitespace changes
Inline
Side-by-side
validator.py
View file @
439cd4d5
...
...
@@ -100,7 +100,7 @@ def is_device_deprecated(device_codename, version, devices):
def
is_device_version_deprecated_by_maintainer
(
device_codename
,
version
,
lead
,
core
,
maintainers
):
for
roles
in
[
maintainers
,
[
lead
]]:
for
roles
in
[
core
,
maintainers
,
[
lead
]]:
for
member
in
roles
:
for
member_device
in
member
[
"devices"
]:
if
member_device
[
"codename"
]
==
device_codename
and
version
in
member_device
[
"versions"
]:
...
...
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