Merge "manager.notify() doesn't handle the NotImplementedError exceptions"
This commit is contained in:
commit
b542db3beb
@ -59,8 +59,11 @@ class Manager(SynergyObject, Thread):
|
|||||||
*args, **kargs)
|
*args, **kargs)
|
||||||
else:
|
else:
|
||||||
for manager in self.managers.values():
|
for manager in self.managers.values():
|
||||||
if manager.getName() != manager_name:
|
if manager.getName() != self.getName():
|
||||||
manager.doOnEvent(event_type, *args, **kargs)
|
try:
|
||||||
|
manager.doOnEvent(event_type, *args, **kargs)
|
||||||
|
except NotImplementedError:
|
||||||
|
pass
|
||||||
|
|
||||||
def getOptions(self):
|
def getOptions(self):
|
||||||
return self.config_opts
|
return self.config_opts
|
||||||
|
Loading…
Reference in New Issue
Block a user