mirror of
https://opendev.org/x/pyghmi
synced 2026-03-29 06:13:30 +00:00
Merge "Fix unregister_keepalive when no keepalives registered"
This commit is contained in:
@@ -958,6 +958,8 @@ class Session(object):
|
||||
return regid
|
||||
|
||||
def unregister_keepalive(self, regid):
|
||||
if self._customkeepalives is None:
|
||||
return
|
||||
try:
|
||||
del self._customkeepalives[regid]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user