Add memcache stub change from the 1.7.7 SDK
@@ -223,8 +223,7 @@ class MemcacheServiceStub(apiproxy_stub.APIProxyStub):
or not old_entry.CheckLocked()):
set_status = MemcacheSetResponse.STORED
- elif (set_policy == MemcacheSetRequest.CAS and item.for_cas() and
- item.has_cas_id()):
+ elif (set_policy == MemcacheSetRequest.CAS and item.has_cas_id()):
if old_entry is None or old_entry.CheckLocked():
set_status = MemcacheSetResponse.NOT_STORED
elif old_entry.cas_id != item.cas_id():
