def get_location_path(location=DEFAULT_LOCATION, api_host_suffix=JOYENT_API_HOST_SUFFIX):
 return '{0}://{1}{2}'.format(_get_proto(), location, api_host_suffix)

def get_location_path ( location = DEFAULT_LOCATION , api_host_suffix = JOYENT_API_HOST_SUFFIX ) : return '{0}://{1}{2}' . format ( _get_proto ( ) , location , api_host_suffix )
create url from location variable .