Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
title = 4 * " " + "Attributes found only in %s:" % self.con.host
for x in self.attributes.keys():
if x not in other.attributes.keys() and \
- not x.upper() in [q.upper() for q in other.ignore_attributes]:
+ not x.upper() in [q.upper() for q in other.ignore_attributes]:
if title:
res += title + "\n"
title = None
title = 4 * " " + "Attributes found only in %s:" % other.con.host
for x in other.attributes.keys():
if x not in self.attributes.keys() and \
- not x.upper() in [q.upper() for q in self.ignore_attributes]:
+ not x.upper() in [q.upper() for q in self.ignore_attributes]:
if title:
res += title + "\n"
title = None