From 7234be601bed2923aa1affedbea9c15e6c8a812c Mon Sep 17 00:00:00 2001 From: Guillaume Plessis Date: Wed, 23 Aug 2017 14:42:31 -0700 Subject: [PATCH] Fix flake8 tests --- bootstrapvz/providers/ec2/tasks/ami.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrapvz/providers/ec2/tasks/ami.py b/bootstrapvz/providers/ec2/tasks/ami.py index 497869f..87acef7 100755 --- a/bootstrapvz/providers/ec2/tasks/ami.py +++ b/bootstrapvz/providers/ec2/tasks/ami.py @@ -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