'Set a status to report back to the server.'

def SetStatus(self, status, message='', backtrace=None):

    self.status.status = status
    self.status.error_message = utils.SmartUnicode(message)
    if backtrace:
        self.status.backtrace = utils.SmartUnicode(backtrace)
