count serials; automagic TTLs
[zonemaker.git] / zone-maker
index 2d52a789ed4b7148ac6298b7c4aaabc1b4616519..57f8afe3470c4bdf169d18168d295bf6d4c41b78 100755 (executable)
@@ -15,7 +15,7 @@ def make_zone(filename: str) -> None:
     zonefile = load_module(os.path.basename(filename), filename)
     zones = zonefile.__zones__ # type: Sequence[Zone]
     for zone in zones:
-        zone.write(sys.stdout)
+        zone.write()
 
 if __name__ == "__main__":
     for name in sys.argv[1:]: