From 87b9597c4882b90c5eeab7bf36410854aee9b974 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 7 Feb 2015 05:37:54 +0200 Subject: [PATCH] fix print slack-desc --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slpkg/main.py b/slpkg/main.py index 01ee7e88..fc09927a 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -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()