From 8a17da299f9b91129c85d3c96335a27384eab812 Mon Sep 17 00:00:00 2001 From: Hagai Kariti Date: Sat, 9 Aug 2014 16:13:45 +0300 Subject: [PATCH] Clean up lines with only whitespaces in ec2.py --- contrib/inventory/ec2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/inventory/ec2.py b/contrib/inventory/ec2.py index e49b20245c5..e807884e345 100755 --- a/contrib/inventory/ec2.py +++ b/contrib/inventory/ec2.py @@ -240,7 +240,7 @@ class Ec2Inventory(object): self.hostname_variable = config.get('ec2', 'hostname_variable') else: self.hostname_variable = None - + # Route53 self.route53_enabled = config.getboolean('ec2', 'route53') self.route53_excluded_zones = [] @@ -643,7 +643,7 @@ class Ec2Inventory(object): # If we can't get a nice hostname, use the destination address if not hostname: hostname = dest - + hostname = self.to_safe(hostname).lower() # if we only want to include hosts that match a pattern, skip those that don't @@ -783,7 +783,7 @@ class Ec2Inventory(object): # If we can't get a nice hostname, use the destination address if not hostname: hostname = dest - + hostname = self.to_safe(hostname).lower() # Add to index