daemon: Use a set to store broker handlers.

This commit is contained in:
Tom Goff 2016-10-12 15:55:30 +00:00
parent bcd749578d
commit 31a9f6fb34
5 changed files with 5 additions and 5 deletions

View file

@ -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