Shorter if clause
This commit is contained in:
parent
f77971238f
commit
7962bdcc9f
|
@ -30,7 +30,7 @@ class ADModel:
|
||||||
async def target_packages(self):
|
async def target_packages(self):
|
||||||
# NOTE Those packages must be present in the target system to allow
|
# NOTE Those packages must be present in the target system to allow
|
||||||
# joining to a domain.
|
# joining to a domain.
|
||||||
if self.do_join is True:
|
if self.do_join:
|
||||||
return ["adcli", "realmd", "sssd"]
|
return ["adcli", "realmd", "sssd"]
|
||||||
|
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in New Issue