diff options
Diffstat (limited to 'boto/ec2/image.py')
-rw-r--r-- | boto/ec2/image.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/boto/ec2/image.py b/boto/ec2/image.py index f94f77e8..612404f0 100644 --- a/boto/ec2/image.py +++ b/boto/ec2/image.py @@ -41,6 +41,7 @@ class BillingProducts(list): if name == 'billingProduct': self.append(value) + class Image(TaggedEC2Object): """ Represents an EC2 Image @@ -106,7 +107,7 @@ class Image(TaggedEC2Object): self.is_public = True else: raise Exception( - 'Unexpected value of isPublic %s for image %s'%( + 'Unexpected value of isPublic %s for image %s' % ( value, self.id ) @@ -368,7 +369,7 @@ class Image(TaggedEC2Object): ) def get_kernel(self, dry_run=False): - img_attrs =self.connection.get_image_attribute( + img_attrs = self.connection.get_image_attribute( self.id, 'kernel', dry_run=dry_run |