code: def on_result(self, task, result):
          '''Called every result'''
          if not result:
              return
          if 'taskid' in task and 'project' in task and 'url' in task:
              logger.info('result %s:%s %s -> %.30r' % (
                  task['project'], task['taskid'], task['url'], result))
              return self.resultdb.save(
                  project=task['project'],
                  taskid=task['taskid'],
                  url=task['url'],
                  result=result
              )
          else:
              logger.warning('result UNKNOW -> %.30r' % result)
              returf on_result(self, task, result):
          '''Called every result'''
          if not result:
              return
          if 'taskid' in task and 'project' in task and 'url' in task:
              logger.info('result %s:%s %s -> %.30r' % (
                  task['project'], task['taskid'], task['url'], result))
              return self.resultdb.save(
                  project=task['project'],
                  taskid=task['taskid'],
                  url=task['url'],
                  result=result
              )
          else:
              logger.warning('result UNKNOW -> %.30r' % result)
              return
docs: Called every result