remove unused variable
This commit is contained in:
parent
330b869830
commit
31aa01e608
|
@ -150,7 +150,7 @@ def validate_cut(self, request, uuid):
|
|||
try:
|
||||
validation_request = models.ValidationRequest.objects.create(
|
||||
user=user, external_id=external_id, origin=origin)
|
||||
except IntegrityError as e:
|
||||
except IntegrityError:
|
||||
response = {'result': 0, 'errors': [{'code': 'already-exists'}]}
|
||||
return Response(response, status.HTTP_400_BAD_REQUEST)
|
||||
for attachment in attachments:
|
||||
|
|
Loading…
Reference in New Issue