def check_explicit_underscore_import(logical_line, filename):

    # Build a list of the files that have _ imported.  No further
    # checking needed once it is found.
    if filename in UNDERSCORE_IMPORT_FILES:
        pass
    elif (underscore_import_check.match(logical_line) or
          custom_underscore_check.match(logical_line)):
        UNDERSCORE_IMPORT_FILES.append(filename)
    elif (translated_log.match(logical_line) or
         string_translation.match(logical_line)):
        yield(0, "N323: Found use of _() without explicit import of _ !")
Write a PNG chunk to the output file, including length and checksum.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/hacking/checks.py/check_explicit_underscore_import--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/image/codecs/pypng.py/Writer.write_chunk