def __eq__(self, other):
        if not isinstance(other, Manifest):
            return False
        for s in self.manifest.sections():
            if s not in other.manifest.sections():
                return False
            for option in self.manifest.options(s):
                if(not other.manifest.has_option(s, option) or
                   self.manifest.get(s, option) != other.manifest.get(s, option)):
                    return False
        return True

    # act like a configparser if asking for a non-existent method.
dataset/ETHPy150Open toumorokoshi/sprinter/sprinter/core/manifest.py/Manifest.__eq__/original