projects
/
zonemaker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c011244
)
tune RR formatting
author
Ralf Jung
<post@ralfj.de>
Sun, 9 Nov 2014 18:01:34 +0000
(19:01 +0100)
committer
Ralf Jung
<post@ralfj.de>
Sun, 9 Nov 2014 18:01:34 +0000
(19:01 +0100)
zonemaker/zone.py
patch
|
blob
|
history
diff --git
a/zonemaker/zone.py
b/zonemaker/zone.py
index 1999ddc960e3f35ab1a6fcf6e37e8f7290f360fd..e63d943cebaba12479483d712e33e94f08e32210 100644
(file)
--- a/
zonemaker/zone.py
+++ b/
zonemaker/zone.py
@@
-121,7
+121,7
@@
class Zone:
if TTL is None:
TTL = self._other_TTL
# be done
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('.'):
def abs_hostname(self, name):
if name.endswith('.'):