mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
fix IOError: [Errno 2]
This commit is contained in:
parent
d7f76b72b1
commit
0a17ff0e40
1 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ class OthersInstall(object):
|
|||
'''
|
||||
pkg_sum = uni_sum = upg_sum = 0
|
||||
# fix repositories align
|
||||
self.repo = self.repo + (' ' * (6 - (len(self.repo))))
|
||||
repo = self.repo + (' ' * (6 - (len(self.repo))))
|
||||
for pkg, comp in zip(install, comp_sum):
|
||||
pkg_split = split_package(pkg[:-4])
|
||||
if find_package(pkg_split[0] + "-" + pkg_split[1], pkg_path):
|
||||
|
@ -328,7 +328,7 @@ class OthersInstall(object):
|
|||
" " * (24-len(pkg_split[0])), pkg_split[1],
|
||||
" " * (18-len(pkg_split[1])), pkg_split[2],
|
||||
" " * (8-len(pkg_split[2])), pkg_split[3],
|
||||
" " * (7-len(pkg_split[3])), self.repo,
|
||||
" " * (7-len(pkg_split[3])), repo,
|
||||
comp, " K"))
|
||||
return [pkg_sum, upg_sum, uni_sum]
|
||||
|
||||
|
|
Loading…
Reference in a new issue