--- avahi-0.7/avahi-python/avahi-discover/avahi-discover.py.1 2020-01-21 12:34:52.073385689 +0000 +++ avahi-0.7/avahi-python/avahi-discover/avahi-discover.py 2020-01-21 12:42:39.126636069 +0000 @@ -209,10 +209,10 @@ self.new_service_type(interface, protocol, self.stype, domain) def new_domain(self,interface, protocol, domain, flags): - if self.zc_ifaces.has_key((interface,protocol)) == False: + if ((interface,protocol) in self.zc_ifaces) == False: ifn = self.get_interface_name(interface, protocol) self.zc_ifaces[(interface,protocol)] = self.insert_row(self.treemodel, None, ifn,None,interface,protocol,None,domain) - if self.zc_domains.has_key((interface,protocol,domain)) == False: + if ((interface,protocol,domain) in self.zc_domains) == False: self.zc_domains[(interface,protocol,domain)] = self.insert_row(self.treemodel, self.zc_ifaces[(interface,protocol)], domain,None,interface,protocol,None,domain) if domain != "local": self.browse_domain(interface, protocol, domain)