mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 23:11:33 +00:00
Remove dead code from EventHandlerBase
This commit is contained in:
parent
7e991426e7
commit
5d8d541394
@ -45,13 +45,6 @@ class EventHandlerBase(ABC):
|
|||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def message_other(self, key, data):
|
|
||||||
message = {
|
|
||||||
'key': key,
|
|
||||||
'data': data
|
|
||||||
}
|
|
||||||
self.server_connector.send(key, message)
|
|
||||||
|
|
||||||
def subscribe(self, key):
|
def subscribe(self, key):
|
||||||
if key not in self.subscriptions:
|
if key not in self.subscriptions:
|
||||||
self.subscriptions.add(key)
|
self.subscriptions.add(key)
|
||||||
|
Loading…
Reference in New Issue
Block a user