mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Fix network argument
This commit is contained in:
parent
e2350d87e7
commit
7821261bd0
1 changed files with 1 additions and 4 deletions
|
@ -261,10 +261,7 @@ class ArgParse(object):
|
|||
"""View slackbuilds packages
|
||||
"""
|
||||
options = ["-n", "--network"]
|
||||
if (len(self.args) == 3 and self.args[0] in options and
|
||||
"sbo" in self.meta.repositories):
|
||||
SBoNetwork(self.args[1]).view()
|
||||
elif (len(self.args) == 2 and self.args[0] in options and
|
||||
if (len(self.args) == 2 and self.args[0] in options and
|
||||
"sbo" in self.meta.repositories):
|
||||
SBoNetwork(self.args[1]).view()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue