equal
deleted
inserted
replaced
276 else : |
276 else : |
277 raise Exception("No value for [%s] %s" % (host, attr)) |
277 raise Exception("No value for [%s] %s" % (host, attr)) |
278 |
278 |
279 # output |
279 # output |
280 for host, attrs in sorted(data.items()) : |
280 for host, attrs in sorted(data.items()) : |
281 print "{host}".format(host=host) |
281 print "{host}@{domain}".format(host=host, domain=host.domain) |
282 |
282 |
283 for attr, value in sorted(attrs.items()) : |
283 for attr, value in sorted(attrs.items()) : |
284 print "\t{attr}".format(attr=' '.join(str(a) for a in attr)) |
284 print "\t{attr}".format(attr=' '.join(str(a) for a in attr)) |
285 |
285 |
286 if isinstance(value, set) : |
286 if isinstance(value, set) : |