mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Fix flake8 tests
This commit is contained in:
parent
cb886fe3d6
commit
7234be601b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class AMIName(Task):
|
|||
|
||||
images = info._ec2['connection'].describe_images(Owners=['self'])['Images']
|
||||
for image in images:
|
||||
if 'Name' in image and ami_name == image['Name']:
|
||||
if 'Name' in image and ami_name == image['Name']:
|
||||
msg = 'An image by the name {ami_name} already exists.'.format(ami_name=ami_name)
|
||||
raise TaskError(msg)
|
||||
info._ec2['ami_name'] = ami_name
|
||||
|
|
Loading…
Add table
Reference in a new issue