##// END OF EJS Templates
Fix traitlet _notify_trait by-ref issue
Jonathan Frederic -
Show More
@@ -435,9 +435,9 b' class HasTraits(object):'
435 def _notify_trait(self, name, old_value, new_value):
435 def _notify_trait(self, name, old_value, new_value):
436
436
437 # First dynamic ones
437 # First dynamic ones
438 callables = self._trait_notifiers.get(name,[])
438 callables = []
439 more_callables = self._trait_notifiers.get('anytrait',[])
439 callables.extend(self._trait_notifiers.get(name,[]))
440 callables.extend(more_callables)
440 callables.extend(self._trait_notifiers.get('anytrait',[]))
441
441
442 # Now static ones
442 # Now static ones
443 try:
443 try:
General Comments 0
You need to be logged in to leave comments. Login now