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 |