Fix missing dynamodb key status code to fix has_item. Closes #20

This commit is contained in:
Steve Pulec 2013-05-07 00:19:04 -04:00
commit 755fe6563b
3 changed files with 10 additions and 5 deletions

View file

@ -195,7 +195,7 @@ class DynamoHandler(BaseResponse):
return dynamo_json_dump(item_dict)
else:
er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
return self.error(er)
return self.error(er, status=404)
def batch_get_item(self):
table_batches = self.body['RequestItems']