def add_acls_from_sys_metadata(self, resp):
    if (resp.environ['REQUEST_METHOD'] in ('HEAD', 'GET', 'PUT', 'POST')):
        prefix = (get_sys_meta_prefix('account') + 'core-')
        name = 'access-control'
        (extname, intname) = (('x-account-' + name), (prefix + name))
        acl_dict = parse_acl(version=2, data=resp.headers.pop(intname))
        if acl_dict:
            resp.headers[extname] = format_acl(version=2, acl_dict=acl_dict)
def add_acls_from_sys_metadata(self, resp):
    if (resp.environ['REQUEST_METHOD'] in ('HEAD', 'GET', 'PUT', 'POST')):
        prefix = (get_sys_meta_prefix('account') + 'core-')
        name = 'access-control'
        (extname, intname) = (('x-account-' + name), (prefix + name))
        acl_dict = parse_acl(version=2, data=resp.headers.pop(intname))
        if acl_dict:
            resp.headers[extname] = format_acl(version=2, acl_dict=acl_dict)