(self, notification)
TODO: Docstring for post_notification
        
        @param notification TODO
TODO: Docstring for post_notification
TODO : Docstring for post_notification
def post_notification(self, notification):
        """
        TODO: Docstring for post_notification
        
        @param notification TODO
        """
        self.lock.acquire()
        _observers = self.observers['all'].union(self.observers[notification.message])
        for _observer in _observers:
            _sender = _observer[2]
            if ((not _sender) or (_sender == notification.sender)):
                try:
                    getattr(_observer[0], _observer[1])(notification)
                except AttributeError as e:
                    self.log.exception('Caught exception: posting notification to object (%s) with method (%s)' % (_observer[0], _observer[1]))
        self.lock.release()
def post_notification ( self , notification ) : self . lock . acquire ( ) _observers = self . observers [ 'all' ] . union ( self . observers [ notification . message ] ) for _observer in _observers : _sender = _observer [ 2 ] if ( ( not _sender ) or ( _sender == notification . sender ) ) : try : getattr ( _observer [ 0 ] , _observer [ 1 ] ) ( notification ) except AttributeError as e : self . log . exception ( 'Caught exception: posting notification to object (%s) with method (%s)' % ( _observer [ 0 ] , _observer [ 1 ] ) ) self . lock . release ( )