def _AbsUrl(relative_url, context, unused_args):
 return urlparse.urljoin(context.Lookup('base-url'), relative_url)

def _AbsUrl ( relative_url , context , unused_args ) : return urlparse . urljoin ( context . Lookup ( 'base-url' ) , relative_url )
returns an absolute url .