mirror of
https://opendev.org/x/pyghmi
synced 2025-07-23 04:31:10 +00:00
Fix the mistake in last nights fix
Change-Id: I5af26ca21d6d641b665acebec12ca0552f2faa8e
This commit is contained in:
@@ -540,7 +540,7 @@ class Session(object):
|
||||
def _mark_broken(self, error=None):
|
||||
# since our connection has failed retries
|
||||
# deregister our keepalive facility
|
||||
self.lastpayload = none
|
||||
self.lastpayload = None
|
||||
with util.protect(KEEPALIVE_SESSIONS):
|
||||
Session.keepalive_sessions.pop(self, None)
|
||||
with util.protect(WAITING_SESSIONS):
|
||||
|
Reference in New Issue
Block a user