E5Gui/E5ErrorMessage.py

changeset 5597
3d88d53f8c2b
parent 5527
4fdbb36fe794
child 5840
36f8973c5a8d
equal deleted inserted replaced
5596:4550d8e34765 5597:3d88d53f8c2b
55 55
56 @param message message to be checked (string) 56 @param message message to be checked (string)
57 @return flag indicating that the message should be filtered out 57 @return flag indicating that the message should be filtered out
58 (boolean) 58 (boolean)
59 """ 59 """
60 for filter in Globals.toList(self.settings.value( 60 for filterStr in Globals.toList(self.settings.value(
61 "MessageFilters", self.__defaultFilters)): 61 "MessageFilters", self.__defaultFilters)):
62 if filter in message: 62 if filterStr in message:
63 return True 63 return True
64 64
65 return False 65 return False
66 66
67 def showMessage(self, message, msgType=""): 67 def showMessage(self, message, msgType=""):

eric ide

mercurial