Fix indent

This commit is contained in:
Randy Westergren 2019-08-21 18:00:46 -04:00
parent 210b8b24eb
commit 819dcfee24
No known key found for this signature in database
GPG Key ID: 9169FEB434BFAB92

View File

@ -449,8 +449,7 @@ class EventSourceMapping(BaseModel):
# Use service default if not provided
batch_size = int(spec.get('BatchSize', batch_size_entry[0]))
if batch_size > batch_size_entry[1]:
raise ValueError(
"InvalidParameterValueException",
raise ValueError("InvalidParameterValueException",
"BatchSize {} exceeds the max of {}".format(batch_size, batch_size_entry[1]))
else:
self.batch_size = batch_size