mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
take advantage of all()/any() builtins optimizations
This commit is contained in:
parent
384e88d2c6
commit
ebf12aa4b5
5 changed files with 53 additions and 55 deletions
|
|
@ -85,7 +85,7 @@ class BUIauditLogger(BUIauditLoggerInterface):
|
|||
'audit/handler.py',
|
||||
]
|
||||
for frame in stack:
|
||||
if any([frame.filename.endswith(x) for x in exclude]):
|
||||
if any(frame.filename.endswith(x) for x in exclude):
|
||||
continue
|
||||
caller = f'{frame.function} [{frame.filename}:{frame.lineno}]'
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue