remove unused local variable

This commit is contained in:
Tomoya Iwata 2019-01-13 18:32:27 +09:00 committed by Bert Blommers
parent b74625db0c
commit 5a7da61833

View File

@ -864,7 +864,7 @@ class DynamoHandler(BaseResponse):
key = transact_item['Get']['Key']
try:
item = self.dynamodb_backend.get_item(table_name, key)
except ValueError as e:
except ValueError:
er = 'com.amazonaws.dynamodb.v20111205#ResourceNotFoundException'
return self.error(er, 'Requested resource not found')