Commit 3fcc591f by Seth Vidal

add check that vars plugins are not handing back None

parent ea8cb0b2
......@@ -282,7 +282,8 @@ class Inventory(object):
vars = {}
for ip in self._vars_plugins:
updated = ip.run(host)
vars.update(updated)
if updated is not None:
vars.update(updated)
if self._is_script:
cmd = subprocess.Popen(
......
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