daemon: Use a set to store broker handlers.
This commit is contained in:
parent
bcd749578d
commit
31a9f6fb34
5 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ class Sdt(object):
|
|||
# node information for remote nodes not in session._objs
|
||||
# local nodes also appear here since their obj may not exist yet
|
||||
self.remotes = {}
|
||||
session.broker.handlers += (self.handledistributed, )
|
||||
session.broker.handlers.add(self.handledistributed)
|
||||
|
||||
def is_enabled(self):
|
||||
''' Check for 'enablesdt' session option. Return False by default if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue