def zone_from_file(domain, filename): '''Read a zone file and return the contents as a Zone object. ''' zone = Zone(domain) zone.load_from_file(filename) return zone
def zone_from_file(domain, filename, *args, **kwargs): '''Read a zone file and return the contents as a Zone object. ''' zone = Zone(domain) zone.load_from_file(filename, *args, **kwargs) return zone
def zone_from_file(domain, filename): """Read a zone file and return the contents as a Zone object. """ zone = Zone(domain) zone.load_from_file(filename) return zone