mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 09:46:16 +01:00
- fix for my last commit
This commit is contained in:
parent
78cf44a5bc
commit
955ee78e8b
@ -5167,6 +5167,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
else:
|
||||
return '%s = \'%s\'' % (attr, what)
|
||||
|
||||
search_term = ''
|
||||
if len(args) > 1:
|
||||
raise oscerr.WrongArgs('Too many arguments')
|
||||
elif len(args) == 0:
|
||||
@ -5174,6 +5175,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
search_term = conf.get_apiurl_usr(conf.config['apiurl'])
|
||||
else:
|
||||
raise oscerr.WrongArgs('Too few arguments')
|
||||
else:
|
||||
search_term = args[0]
|
||||
|
||||
# support perl package names and symbols:
|
||||
|
Loading…
Reference in New Issue
Block a user