mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
BugFix: IndexError: list index out of range
This commit is contained in:
parent
44b12c20a4
commit
a7c2740187
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class ArgParse(object):
|
||||||
if arg not in flag:
|
if arg not in flag:
|
||||||
usage("")
|
usage("")
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
if (len(self.args) >= 1 and len(self.args) <= 5 and
|
if (len(self.args) > 1 and len(self.args) <= 5 and
|
||||||
self.args[0] in options and
|
self.args[0] in options and
|
||||||
self.args[1] in self.meta.repositories):
|
self.args[1] in self.meta.repositories):
|
||||||
PackageManager(binary=None).package_list(self.args[1],
|
PackageManager(binary=None).package_list(self.args[1],
|
||||||
|
|
Loading…
Reference in a new issue