def verifyFileList(self, ideal, actual):
        dict = {}
        for n in ideal: dict[n] = 1

        for n in actual:
            if dict.has_key(n):
                del dict[n]
            else:
                self.fail(n % "unexpected file %s")
        if dict:
            self.fail("files missing %s" % " ".join(dict.keys()))

        assert(not dict)
dataset/ETHPy150Open sassoftware/conary/conary_test/rephelp.py/RepositoryHelper.verifyFileList/swapped operands of `%`