def name_compare(self, s1, s2): if self.use_soundex: try: return compare(s1, s2) except UnicodeEncodeError: return s1 == s2 else: return s1 == s2
def name_compare(self, s1, s2): if self.use_soundex: try: return compare(s1,s2) except UnicodeEncodeError: return s1 == s2 else: return s1 == s2