Add Apple brand (#79227)

This commit is contained in:
Paulus Schoutsen 2022-09-28 16:21:09 -04:00 committed by GitHub
parent b49d499ab6
commit 62c114e849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 42 additions and 28 deletions

View file

@ -51,10 +51,8 @@ def _validate_brand(
f"'{sub_integration}' to 'integrations'",
)
if (
brand.domain in integrations
and not brand.integrations
or brand.domain not in brand.integrations
if brand.domain in integrations and (
not brand.integrations or brand.domain not in brand.integrations
):
config.add_error(
"brand",