show hub version in koji hello
This commit is contained in:
parent
8e6737a116
commit
cfd6d3064f
3 changed files with 7 additions and 4 deletions
|
|
@ -7565,7 +7565,7 @@ def handle_moshimoshi(options, session, args):
|
|||
u = {'name': 'anonymous user'}
|
||||
print("%s, %s!" % (_printable_unicode(random.choice(greetings)), u["name"]))
|
||||
print("")
|
||||
print("You are using the hub at %s" % session.baseurl)
|
||||
print("You are using the hub at %s (Koji %s)" % (session.baseurl, session.hub_version_str))
|
||||
authtype = u.get('authtype', getattr(session, 'authtype', None))
|
||||
if authtype == koji.AUTHTYPES['NORMAL']:
|
||||
print("Authenticated via password")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue