projects
/
zonemaker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
validate hostnames
[zonemaker.git]
/
zone-maker
diff --git
a/zone-maker
b/zone-maker
index ddfb19516ae7e65a054abf4fcb886dc8911f4da4..100b17a7932caa0c09568f1b18cb0ee8e7b6fa0e 100755
(executable)
--- 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__
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:]:
if __name__ == "__main__":
for name in sys.argv[1:]: