def hpauth(u, p):
 global hpuser, hppassword, mb_auth
 hpuser = u
 hppassword = p
 mb_auth = True

def hpauth ( u , p ) : global hpuser , hppassword , mb_auth hpuser = u hppassword = p mb_auth = True
set the username and password to be used in subsequent queries to the musicbrainz xml api that require authentication .