Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin

This commit is contained in:
Victor Schröder 2015-06-14 23:38:09 +02:00
parent 77a2ad0e8c
commit e8c3e3d645

View file

@ -1025,7 +1025,6 @@ class Ec2Inventory(object):
return list(name_list) return list(name_list)
def get_host_info_dict_from_instance(self, instance): def get_host_info_dict_from_instance(self, instance):
instance_vars = {} instance_vars = {}
for key in vars(instance): for key in vars(instance):
@ -1225,7 +1224,6 @@ class Ec2Inventory(object):
return re.sub("[^A-Za-z0-9\_]", "_", word) return re.sub("[^A-Za-z0-9\_]", "_", word)
def json_format_dict(self, data, pretty=False): def json_format_dict(self, data, pretty=False):
''' Converts a dict to a JSON object and dumps it as a formatted ''' Converts a dict to a JSON object and dumps it as a formatted
string ''' string '''