equal
deleted
inserted
replaced
1431 tx.handle, resp) |
1431 tx.handle, resp) |
1432 except apiproxy_errors.ApplicationError, err: |
1432 except apiproxy_errors.ApplicationError, err: |
1433 if (err.application_error == |
1433 if (err.application_error == |
1434 datastore_pb.Error.CONCURRENT_TRANSACTION): |
1434 datastore_pb.Error.CONCURRENT_TRANSACTION): |
1435 logging.warning('Transaction collision for entity group with ' |
1435 logging.warning('Transaction collision for entity group with ' |
1436 'key %r', tx.entity_group) |
1436 'key %r. Retrying...', tx.entity_group) |
1437 tx.handle = None |
1437 tx.handle = None |
1438 tx.entity_group = None |
1438 tx.entity_group = None |
1439 continue |
1439 continue |
1440 else: |
1440 else: |
1441 raise _ToDatastoreError(err) |
1441 raise _ToDatastoreError(err) |