FIx style

This commit is contained in:
Dimitris Zlatanidis 2015-06-04 15:35:18 +03:00
parent 1ec298716e
commit 77f21cc764

View file

@ -164,16 +164,16 @@ class ArgParse(object):
if (len(self.args) == 3 and self.args[0] == '-l' and
self.args[1] in _m.repositories):
if self.args[2] == '--index':
PackageManager(binary=None).list(self.args[1], index=True,
PackageManager(binary=None).list(self.args[1], indexing=True,
installed=False)
elif self.args[2] == '--installed':
PackageManager(binary=None).list(self.args[1], index=False,
PackageManager(binary=None).list(self.args[1], indexing=False,
installed=True)
else:
usage('')
elif (len(self.args) == 2 and self.args[0] == '-l' and
self.args[1] in _m.repositories):
PackageManager(None).list(self.args[1], index=False,
PackageManager(None).list(self.args[1], indexing=False,
installed=False)
elif (len(self.args) > 1 and self.args[0] == '-l' and
self.args[1] not in _m.repositories):