remove unused local variable
This commit is contained in:
parent
b74625db0c
commit
5a7da61833
@ -864,7 +864,7 @@ class DynamoHandler(BaseResponse):
|
|||||||
key = transact_item['Get']['Key']
|
key = transact_item['Get']['Key']
|
||||||
try:
|
try:
|
||||||
item = self.dynamodb_backend.get_item(table_name, key)
|
item = self.dynamodb_backend.get_item(table_name, key)
|
||||||
except ValueError as e:
|
except ValueError:
|
||||||
er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
|
er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
|
||||||
return self.error(er, 'Requested resource not found')
|
return self.error(er, 'Requested resource not found')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user