Commit e8c3e3d6 by Victor Schröder

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

parent 77a2ad0e
...@@ -1025,7 +1025,6 @@ class Ec2Inventory(object): ...@@ -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): ...@@ -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 '''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment