removed unused objects from include results proc

This commit is contained in:
Brian Coca
2018-01-03 10:51:26 -05:00
committed by Brian Coca
parent c30ee42fe1
commit 1b34a17415
4 changed files with 1 additions and 13 deletions

View File

@@ -52,15 +52,9 @@ class IncludedFile:
return "%s (%s): %s" % (self._filename, self._args, self._hosts)
@staticmethod
def process_include_results(results, tqm, iterator, inventory, loader, variable_manager):
def process_include_results(results, iterator, loader, variable_manager):
included_files = []
def get_original_host(host):
if host.name in inventory._hosts_cache:
return inventory._hosts_cache[host.name]
else:
return inventory.get_host(host.name)
for res in results:
original_host = res._host