def replace(self, child, replacement):
        for i in range(len(self.chunks)):
            if self.chunks[i] == child:
                self.chunks[i] = replacement
Make sure that exceptions= is honored for files inherited
dataset/ETHPy150Open grampajoe/pymosh/pymosh/riff.py/RiffIndexList.replace--crossover with--dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/buildtest/derivedtest.py/DerivedPackageTest.testRequiresExceptions