eric6/DebugClients/Python/DebugClientBase.py

changeset 8221
0572a215bd2f
parent 8207
d359172d11be
child 8228
772103b14c18
equal deleted inserted replaced
8220:006ee31b4835 8221:0572a215bd2f
2395 @param scriptName name of the script to check 2395 @param scriptName name of the script to check
2396 @type str 2396 @type str
2397 @return flag indicating eligibility 2397 @return flag indicating eligibility
2398 @rtype bool 2398 @rtype bool
2399 """ 2399 """
2400 for pattern in self.noDebugList: 2400 return any(fnmatch.fnmatch(scriptName, pattern)
2401 if fnmatch.fnmatch(scriptName, pattern): 2401 for pattern in self.noDebugList)
2402 return True
2403
2404 return False

eric ide

mercurial