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