

def _is_ignored(self, js):
    "We ignore the 'logline' lines"
    if (not js):
        return True
    if (not self.server_version):
        if ('logline' in js):
            r = re.search('^Server version: (\\d+\\.\\d+\\.\\d+)$', r['logline'])
            if r:
                self.server_version = r.group(1)
    return ('logline' in js)

dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py Burp._is_ignored/VarMisuse@53/94 `js`->`r`