mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
fix print slack-desc
This commit is contained in:
parent
48fd65ac1e
commit
87b9597c48
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ class ArgParse(object):
|
|||
""" print slack-desc by repository"""
|
||||
packages = ''.join(self.packages)
|
||||
if len(self.packages) > 1:
|
||||
packages = self.packages[1]
|
||||
packages = self.packages[0]
|
||||
if (len(self.args) == 3 and self.args[0] == '-p' and
|
||||
self.args[1] in _m.repositories):
|
||||
PkgDesc(packages, self.args[1], '').view()
|
||||
|
|
Loading…
Reference in a new issue