def _failed_login(self, host):
        def remove_ban(host):
            del self.failed_login_attempts[host]
        if self.failed_login_attempts in host:
            self.failed_login_attempts[host] += 1
            reactor.callLater(3600, remove_ban, host)
        else:
            self.failed_login_attempts[host] = 1
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/api/restapi.py/OpenBazaarAPI._failed_login/swapped operands of `in`