X-Git-Url: https://git.ralfj.de/zonemaker.git/blobdiff_plain/2fd3698a920105ffa759f546666a1793c8c46c14..81b4573994bcaef18aae462cfbf7c5cf542db0ca:/zone-maker?ds=inline 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:]: