X-Git-Url: https://git.ralfj.de/zonemaker.git/blobdiff_plain/2fd3698a920105ffa759f546666a1793c8c46c14..fe551749af05a1ac3cb09a4640aa6c9cc8556212:/zone-maker diff --git a/zone-maker b/zone-maker index ddfb195..100b17a 100755 --- a/zone-maker +++ b/zone-maker @@ -12,7 +12,9 @@ def load_module(name, path, write_bytecode = False): def make_zone(filename): zonefile = load_module(os.path.basename(filename), filename) zones = zonefile.__zones__ - # TODO do something with the zones + # TODO do something more clever with the zones + for zone in zones: + zone.write(sys.stdout) if __name__ == "__main__": for name in sys.argv[1:]: