Updated for option

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 12:04:35 +03:00
parent 26712370fe
commit 8543c36ffb

View file

@ -102,10 +102,10 @@ class Utilities(Configs):
return build
@staticmethod
def is_option(flag: list, flags: list) -> bool:
""" Checking for flags. """
for f in flag:
if f in flags:
def is_option(option: list, flags: list) -> bool:
""" Checking if the option is applied. """
for opt in option:
if opt in flags:
return True
def read_packages_from_file(self, file: Path) -> Generator: