def getTeamsNS(message):
 alias = message.namespaces.getAlias(ns_uri)
 if (alias is None):
  try:
   message.namespaces.addAlias(ns_uri, 'lp')
  except KeyError as why:
   raise TeamsNamespaceError(why[0])
 return ns_uri

def getTeamsNS ( message ) : alias = message . namespaces . getAlias ( ns_uri ) if ( alias is None ) : try : message . namespaces . addAlias ( ns_uri , 'lp' ) except KeyError as why : raise TeamsNamespaceError ( why [ 0 ] ) return ns_uri
extract the launchpad teams namespace uri from the given openid message .