

def get_parser_attr(self, attr=None, agent=None):
    'See :func:`burpui.misc.backend.interface.BUIbackend.get_parser_attr`'
    if ((not attr) or (not self.parser)):
        return []
    try:
        return getattr(self.parser, attr)
    except:
        return []

dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp1.py Burp.get_parser_attr/original