Do not include invalid tools when checking for "orphan" tool dependencies in the Tool Shed.

This commit is contained in:
Greg Von Kuster
2014-08-12 14:15:00 -04:00
parent 5ec0562d53
commit fabe2afd0a
@@ -153,7 +153,7 @@ class DependencyDisplayer( object ):
# Updating should cause no problems here since a tool dependency cannot be included
# in both dictionaries.
tool_dependencies.update( orphan_tool_dependencies )
if tool_dependencies and ( tools or invalid_tools ):
if tool_dependencies and tools:
for td_key, requirements_dict in tool_dependencies.items():
if td_key == 'set_environment':
# "set_environment": [{"name": "R_SCRIPT_PATH", "type": "set_environment"}]