@_WithLock
  def IncRetryCount(self, task_name):
    pos = self._LocateTaskByName(task_name)
    assert pos is not None, (
        'Task does not exist when trying to increase retry count.')

    task = self._sorted_by_name[pos][1]
    self._IncRetryCount(task)
Create DeploymentTask model.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/taskqueue/taskqueue_stub.py/_Queue.IncRetryCount--crossover with--dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/objects/deployment_graph.py/DeploymentGraphTask.create