- # figure out TTL
- attrname = "_"+recordType+"_TTL"
- TTL = None # type: int
- if hasattr(self, attrname):
- TTL = getattr(self, attrname)
- if TTL is None:
- TTL = self._other_TTL
- # be done
- return column_widths((self.abs_hostname(owner), time(TTL), recordType, data), (32, 8, 8))
+ return column_widths((self.abs_hostname(owner), time(self.getTTL(recordType)), recordType, data), (32, 8, 8))