def get_version_by_schema(self, schema):
        retval = None
        for version in self.versions:
            if schema == version.schema:
                retval = version
        if not retval:
            raise InvalidRSpec(schema % "Unkwnown RSpec schema: %s")
        return retval
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/rspecs/version_manager.py/VersionManager.get_version_by_schema/swapped operands of `%`