mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Fix W504
This commit is contained in:
parent
89a5198c4a
commit
0447f899d3
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ class Upgrade(Configs):
|
|||
repo_build: str = self.data[inst_name]['build']
|
||||
|
||||
inst_version: str = self.utils.split_package(installed)['version']
|
||||
if (self.kernel_version and self.repository in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]
|
||||
and inst_version.endswith(f'_{self.kernel_ver}')):
|
||||
if (self.kernel_version and self.repository in [self.repos.sbo_repo_name, self.repos.ponce_repo_name] and
|
||||
inst_version.endswith(f'_{self.kernel_ver}')):
|
||||
inst_version: str = inst_version.replace(f'_{self.kernel_ver}', '')
|
||||
|
||||
inst_build: str = self.utils.split_package(installed)['build']
|
||||
|
|
Loading…
Add table
Reference in a new issue