def sendNotifications(self):
        """Formats and sends notification to the remote party"""
        message = ""
        for event in self.notificationQueue:
            params = ', '.join("%s=%s" % item for item in event.params.items())
            params = escapeToXml(params)
            message += "[<b>%s</b> occurred (%s)]<br/>" % (event.name, params)
        self.notificationQueue = []
        preStyle = '<font color="gray"><i>'
        postStyle = '</i></font>'
        self.say(preStyle + message + postStyle)
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/models/conversation.py/Conversation.sendNotifications/original