]> mj.ucw.cz Git - pynsc.git/blobdiff - example/example_org.py
Unify processing of arguments to record-generating methods
[pynsc.git] / example / example_org.py
index dfd95ddf48aa5f83375534cc1690fe2d605395cc..fa264e56d1857a0fc46121c4a86d0521504f9ff2 100644 (file)
@@ -3,7 +3,7 @@ from example import nsc
 z = nsc.add_zone('example.org')
 
 (z[""]
-    .NS(['ns1', 'ns2'])
+    .NS('ns1', 'ns2')
     .MX(0, 'mail')
     .MX(10, 'mail.example.net')
     .TXT('Litera scripta manet'))