tune RR formatting
authorRalf Jung <post@ralfj.de>
Sun, 9 Nov 2014 18:01:34 +0000 (19:01 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 9 Nov 2014 18:01:34 +0000 (19:01 +0100)
zonemaker/zone.py

index 1999ddc960e3f35ab1a6fcf6e37e8f7290f360fd..e63d943cebaba12479483d712e33e94f08e32210 100644 (file)
@@ -121,7 +121,7 @@ class Zone:
         if TTL is None:
             TTL = self._other_TTL
         # be done
-        return "{0}\t{1}\t{2}\t{3}".format(self.abs_hostname(owner), TTL, recordType, data)
+        return "{0:<31} {1:<7} {2:<7} {3}".format(self.abs_hostname(owner), TTL, recordType, data)
     
     def abs_hostname(self, name):
         if name.endswith('.'):