import sys
filters = ['ActivityThread', 'BufferQueue', 'NativeCrypto',
    'SurfaceTextureClient', 'AppCrawler', 'ExtSolo', 'System.out',
    'SurfaceFlinger']


def is_filtered(line):
    for f in filters:
        if f in line:
            return False
    return True


with open(sys.argv[1]) as f:
    for line in filter(is_filtered, f.readlines()):
        sys.stdout.write(line)

ed42b249cd993893ea10553934065075a397df2b
<mask token>


def is_filtered(line):
    for f in filters:
        if f in line:
            return False
    return True


<mask token>

<mask token>


def is_filtered(line):
    for f in filters:
        if f in line:
            return False
    return True


with open(sys.argv[1]) as f:
    for line in filter(is_filtered, f.readlines()):
        sys.stdout.write(line)

<mask token>
filters = ['ActivityThread', 'BufferQueue', 'NativeCrypto',
    'SurfaceTextureClient', 'AppCrawler', 'ExtSolo', 'System.out',
    'SurfaceFlinger']


def is_filtered(line):
    for f in filters:
        if f in line:
            return False
    return True


with open(sys.argv[1]) as f:
    for line in filter(is_filtered, f.readlines()):
        sys.stdout.write(line)

import sys
filters = ['ActivityThread', 'BufferQueue', 'NativeCrypto',
    'SurfaceTextureClient', 'AppCrawler', 'ExtSolo', 'System.out',
    'SurfaceFlinger']


def is_filtered(line):
    for f in filters:
        if f in line:
            return False
    return True


with open(sys.argv[1]) as f:
    for line in filter(is_filtered, f.readlines()):
        sys.stdout.write(line)
