app/soc/modules/ghop/tasks/task_update.py
changeset 3005 fbdf957cb3a3
parent 2879 cb0f9b4646aa
equal deleted inserted replaced
3004:8485ae85de54 3005:fbdf957cb3a3
    89     return error_handler.logErrorAndReturnOK(
    89     return error_handler.logErrorAndReturnOK(
    90         'Invalid updateGHOPTask data: %s' % post_dict)
    90         'Invalid updateGHOPTask data: %s' % post_dict)
    91 
    91 
    92   entity = ghop_task_logic.logic.getFromKeyNameOr404(key_name)
    92   entity = ghop_task_logic.logic.getFromKeyNameOr404(key_name)
    93 
    93 
    94   entity, comment_entity, ws_entity = ghop_task_logic.logic.updateTaskStatus(
    94   entity, comment_entity = ghop_task_logic.logic.updateTaskStatus(entity)
    95       entity)
       
    96 
    95 
    97   if entity:
    96   if entity:
    98     # TODO(madhusudan): does this really mean an unsuccessful update?
    97     # TODO(madhusudan): does this really mean an unsuccessful update?
    99     # return OK
    98     # return OK
   100     return http.HttpResponse()
    99     return http.HttpResponse()