mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Fix for resolve off
This commit is contained in:
parent
deb479771b
commit
f354f6a4b7
2 changed files with 6 additions and 4 deletions
|
@ -257,7 +257,7 @@ class Menu(Configs):
|
|||
self.flag_pkg_version,
|
||||
self.flag_short_pkg_version,
|
||||
self.flag_no_case,
|
||||
self.flag_short_no_case
|
||||
self.flag_short_no_case,
|
||||
],
|
||||
'tracking': [
|
||||
self.flag_search,
|
||||
|
@ -267,7 +267,9 @@ class Menu(Configs):
|
|||
self.flag_repository,
|
||||
self.flag_short_repository,
|
||||
self.flag_no_case,
|
||||
self.flag_short_no_case
|
||||
self.flag_short_no_case,
|
||||
self.flag_resolve_off,
|
||||
self.flag_short_resolve_off
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -100,9 +100,9 @@ class Tracking(Configs):
|
|||
|
||||
def set_package_requires(self, package: str) -> None:
|
||||
if self.repository not in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]:
|
||||
self.package_requires: tuple = Required(self.data, package).resolve()
|
||||
self.package_requires: tuple = Required(self.data, package, self.flags).resolve()
|
||||
else:
|
||||
self.package_requires: tuple = Requires(self.data, package).resolve()
|
||||
self.package_requires: tuple = Requires(self.data, package, self.flags).resolve()
|
||||
if self.package_requires:
|
||||
self.require_length: int = max(len(name) for name in self.package_requires)
|
||||
|
||||
|
|
Loading…
Reference in a new issue