Shorter if clause

This commit is contained in:
Carlos Nihelton 2023-02-08 09:05:00 -03:00
parent f77971238f
commit 7962bdcc9f
No known key found for this signature in database
GPG Key ID: 6FE346D245197E9A
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ADModel:
async def target_packages(self):
# NOTE Those packages must be present in the target system to allow
# joining to a domain.
if self.do_join is True:
if self.do_join:
return ["adcli", "realmd", "sssd"]
return []