

def output(self, in_, out, **kw):
    if self._output_from:
        out.write(in_.read().replace(self._output_from, self._output_to))
    else:
        out.write(in_.read())

dataset/ETHPy150Open miracle2k/webassets/tests/test_bundle_build.py ReplaceFilter.output/original