From: Ralf Jung Date: Sun, 9 Nov 2014 18:01:34 +0000 (+0100) Subject: tune RR formatting X-Git-Url: https://git.ralfj.de/zonemaker.git/commitdiff_plain/7e54c453642ea5c95c113496e620b71d4209802c?hp=c01124488ecc8884ee456feda85171e833fd3e71 tune RR formatting --- diff --git a/zonemaker/zone.py b/zonemaker/zone.py index 1999ddc..e63d943 100644 --- a/zonemaker/zone.py +++ b/zonemaker/zone.py @@ -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('.'):