Skip to content

Commit

Permalink
Log failed dep resolution just once
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Jan 22, 2017
1 parent ef52ee5 commit 247abbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/tools/deps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ def _requirements_to_dependencies_dict(self, requirements, **kwds):
if require_exact and not dependency.exact:
continue

log.debug(dependency.resolver_msg)
if not isinstance(dependency, NullDependency):
log.debug(dependency.resolver_msg)
requirement_to_dependency[requirement] = dependency
elif return_null_dependencies and (resolver == self.dependency_resolvers[-1] or i == index):
log.debug(dependency.resolver_msg)
requirement_to_dependency[requirement] = dependency

return requirement_to_dependency
Expand Down

0 comments on commit 247abbb

Please sign in to comment.