Correct a typo in dictionary name
At some point, bmc_handlers was mispelled, affecting graceful handling of detecting a broken port. Correct the mispelling. Change-Id: I80e86b9d98fb211a3f1195658b93eaa5a2e88c61
This commit is contained in:
parent
52f5224ca1
commit
01ad6710c4
@ -547,7 +547,7 @@ class Session(object):
|
||||
myport = self.socket.getsockname()[1]
|
||||
for sockaddr in self.allsockaddrs:
|
||||
if (sockaddr in Session.bmc_handlers and
|
||||
myport in Session.bmc_hansdlers[sockaddr]):
|
||||
myport in Session.bmc_handlers[sockaddr]):
|
||||
del Session.bmc_handlers[sockaddr][myport]
|
||||
if Session.bmc_handlers[sockaddr] == {}:
|
||||
del Session.bmc_handlers[sockaddr]
|
||||
|
Loading…
Reference in New Issue
Block a user