remove unused local variable
This commit is contained in:
parent
b74625db0c
commit
5a7da61833
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue