From 8b3674bf58bbdd6869b3e92f81bd02f8d4826dee Mon Sep 17 00:00:00 2001 From: Herby Gillot Date: Mon, 23 Sep 2013 21:43:00 -0400 Subject: [PATCH] minor spacing cleanup --- plugins/inventory/ec2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inventory/ec2.py b/plugins/inventory/ec2.py index c533a77b385..383dad95e03 100755 --- a/plugins/inventory/ec2.py +++ b/plugins/inventory/ec2.py @@ -337,7 +337,7 @@ class Ec2Inventory(object): # Inventory: Group by availability zone self.push(self.inventory, instance.placement, dest) - + # Inventory: Group by instance type self.push(self.inventory, self.to_safe('type_' + instance.instance_type), dest) @@ -425,7 +425,7 @@ class Ec2Inventory(object): r53_conn = route53.Route53Connection() all_zones = r53_conn.get_zones() - route53_zones = [ zone for zone in all_zones if zone.name[:-1] + route53_zones = [ zone for zone in all_zones if zone.name[:-1] not in self.route53_excluded_zones ] self.route53_records = {}