Branch: refs/heads/release_16.07 Home: https://github.com/galaxyproject/galaxy Commit: c0e8a7608351679b8ebdb71207339384161d6616 https://github.com/galaxyproject/galaxy/commit/c0e8a7608351679b8ebdb71207339... Author: Dave B <dave@bx.psu.edu> Date: 2016-09-22 (Thu, 22 Sep 2016) Changed paths: M lib/galaxy/webapps/tool_shed/api/repositories.py M lib/galaxy/webapps/tool_shed/controllers/repository.py M lib/galaxy/webapps/tool_shed/model/__init__.py M lib/tool_shed/util/metadata_util.py Log Message: ----------- [16.07] Fix tool dependencies handling in Tool Shed model (#2950) * Fix the cause of toolshed test 1400 failing. * Fix handling of repositories without tool dependencies. * Fix tool dependency retrieval. In some cases, a process might attempt to fetch tool dependencies for revision 1:7334f6d0ac17, but the repository has been updated, and tool dependency metadata has been reassigned to e.g. 7:ce22ceec214a. This commit resolves that issue. * Correct the logic that returns an empty string for an empty dict. * Fix getting latest revision with tool dependencies. * Use self.app instead of trans.app