fix a bug in preveius refactroring

Change-Id: I775dd41814efc06c9d2697514920a0313696c051
This commit is contained in:
Eyal 2016-03-27 13:53:26 +03:00
parent d1e1dcb654
commit b95f625216

View File

@ -49,7 +49,7 @@ class ListenerService(os_service.Service):
@staticmethod
def _get_topics_set(synchronizers, conf):
topics = {[sync.get_topic(conf) for sync in synchronizers.values()]}
topics = {sync.get_topic(conf) for sync in synchronizers.values()}
topics.remove(None)
return topics