@staticmethod
    def _convert_p4exception_to_scmexception(e):
        error = six.text_type(e)
        if 'Perforce password' in error or error in 'Password must be set':
            raise AuthenticationError(msg=error)
        elif 'check $P4PORT' in error:
            raise RepositoryNotFoundError
        else:
            raise SCMError(error)
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/scmtools/perforce.py/PerforceTool._convert_p4exception_to_scmexception/swapped operands of `in`