class documentation

class AliasUpdater: (source)

Constructor: AliasUpdater(domains, domain)

View In Hierarchy

A callable object which updates the aliases for a domain from an aliases(5) file.

Method __call__ Update the aliases for a domain from an aliases(5) file.
Method __init__ No summary
Instance Variable domain See __init__.
Instance Variable domains See __init__.
def __call__(self, new): (source)

Update the aliases for a domain from an aliases(5) file.

Parameters
new:bytesThe name of an aliases(5) file.
def __init__(self, domains, domain): (source)
Parameters
domains:dict mapping bytes to IDomain providerA mapping of domain name to domain object
domain:IAliasableDomain providerThe domain to update.