Cleans some unnecessary white spaces in ec2.py dynamic inventory plugin
This commit is contained in:
parent
77a2ad0e8c
commit
e8c3e3d645
1 changed files with 2 additions and 4 deletions
|
@ -1025,7 +1025,6 @@ class Ec2Inventory(object):
|
|||
|
||||
return list(name_list)
|
||||
|
||||
|
||||
def get_host_info_dict_from_instance(self, instance):
|
||||
instance_vars = {}
|
||||
for key in vars(instance):
|
||||
|
@ -1225,7 +1224,6 @@ class Ec2Inventory(object):
|
|||
|
||||
return re.sub("[^A-Za-z0-9\_]", "_", word)
|
||||
|
||||
|
||||
def json_format_dict(self, data, pretty=False):
|
||||
''' Converts a dict to a JSON object and dumps it as a formatted
|
||||
string '''
|
||||
|
|
Loading…
Reference in a new issue