def __init__(self, **kwargs):
        """Constuctor for an info base class.

        All arguments must come from _properties.

        Raises:
            GitRvException: If one of the attributes being set is not among
                _properties.
        """
        for key, value in kwargs.iteritems():
            if self._properties not in key:
                raise GitRvException('Property %r not supported for %r object.'
                                     % (key, self.__class__.__name__))
            setattr(self, key, value)
dataset/ETHPy150Open googlearchive/git-rv/utils.py/_UpdateInfoBase.__init__/swapped operands of `not in`