Fix Search Keywords on python3.
@@ -261,8 +261,10 @@ class LibraryKeywordInfo(_KeywordInfo):
return True
def __eq__(self, other):
+ if isinstance(other, str): # DEBUG
return self.name.lower() == other.name.lower() # and self.__hash__ == other.__hash__
+
def __hash__(self):
return hash(repr(self)) # self.name) #
@@ -327,6 +329,7 @@ class TestCaseUserKeywordInfo(_UserKeywordInfo):
return self.name
def __eq__(self, other):
+ if isinstance(other, str): # DEBUG
return self.name.lower() == other.name.lower() # and self.__hash__ == other.__hash__
def __hash__(self):
