Merge pull request #405 from ludia/bugfix/dynamodb-delete-item-response

Fix incorrect dynamodb2 delete_item response
This commit is contained in:
Steve Pulec 2015-08-20 17:15:42 -04:00
commit 0b43b17579

View File

@ -358,7 +358,7 @@ class DynamoHandler(BaseResponse):
if return_values == 'ALL_OLD':
item_dict = item.to_json()
else:
item_dict = {'Attributes': []}
item_dict = {'Attributes': {}}
item_dict['ConsumedCapacityUnits'] = 0.5
return dynamo_json_dump(item_dict)
else: