print warn to stderr instead of stdout
Fixes: https://pagure.io/koji/issue/1152
This commit is contained in:
parent
c60c62381d
commit
c1d80310c9
1 changed files with 1 additions and 1 deletions
|
|
@ -3190,7 +3190,7 @@ def anon_handle_hostinfo(goptions, session, args):
|
|||
host = int(host)
|
||||
info = session.getHost(host)
|
||||
if info is None:
|
||||
print("No such host: %s\n" % host)
|
||||
warn("No such host: %s\n" % host)
|
||||
continue
|
||||
print("Name: %(name)s" % info)
|
||||
print("ID: %(id)d" % info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue