mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-09 22:36:14 +01:00
Fix 'osc whois' command
This commit is contained in:
parent
e65bb3819d
commit
451067bf05
@ -8331,10 +8331,12 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
@cmdln.alias('who')
|
@cmdln.alias('who')
|
||||||
@cmdln.alias('user')
|
@cmdln.alias('user')
|
||||||
def do_whois(self, subcmd, opts, *usernames):
|
@cmdln.option('user', nargs='*')
|
||||||
|
def do_whois(self, subcmd, opts):
|
||||||
"""
|
"""
|
||||||
Show fullname and email of a buildservice user
|
Show fullname and email of a buildservice user
|
||||||
"""
|
"""
|
||||||
|
usernames = opts.user
|
||||||
apiurl = self.get_api_url()
|
apiurl = self.get_api_url()
|
||||||
if len(usernames) < 1:
|
if len(usernames) < 1:
|
||||||
if 'user' not in conf.config['api_host_options'][apiurl]:
|
if 'user' not in conf.config['api_host_options'][apiurl]:
|
||||||
|
Loading…
Reference in New Issue
Block a user