def __init__(self, name, _prefix=None, **kw): apply(LocalPageTemplateFile.inheritedAttribute('__init__'), (self, name, _prefix), kw) domain = get_abspath(_prefix, 'locale') self.class_domain = domain domains.register_domain(domain, domain)
def __init__(self, namespace): mname = namespace['__name__'] domain = get_abspath('locale', mname=mname) self.class_domain = domain register_domain(domain, domain)
def __init__(self, namespace): domain = get_abspath(namespace, 'locale') self.class_domain = domain register_domain(domain, domain)