193
193
datastore_pb.Error.CONCURRENT_TRANSACTION,
194
194
"Transaction precondition failed.")
195
195
elif entity.has_entity():
197
197
if precondition.hash() != entity_hash:
198
198
raise apiproxy_errors.ApplicationError(
199
199
datastore_pb.Error.CONCURRENT_TRANSACTION,