fix print slack-desc

This commit is contained in:
Dimitris Zlatanidis 2015-02-07 05:37:54 +02:00
parent 48fd65ac1e
commit 87b9597c48

View file

@ -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()