mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Updated for option
This commit is contained in:
parent
26712370fe
commit
8543c36ffb
1 changed files with 4 additions and 4 deletions
|
@ -102,10 +102,10 @@ class Utilities(Configs):
|
||||||
return build
|
return build
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def is_option(flag: list, flags: list) -> bool:
|
def is_option(option: list, flags: list) -> bool:
|
||||||
""" Checking for flags. """
|
""" Checking if the option is applied. """
|
||||||
for f in flag:
|
for opt in option:
|
||||||
if f in flags:
|
if opt in flags:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def read_packages_from_file(self, file: Path) -> Generator:
|
def read_packages_from_file(self, file: Path) -> Generator:
|
||||||
|
|
Loading…
Reference in a new issue