From bf6ad2c0668ec9f52ed42beb9da3541a9f2afa71 Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Wed, 5 Jun 2013 09:58:11 -0400 Subject: [PATCH] Fix for handling multiple repository installations simultaneously when handle repository dependencies is checked and at least 1 selected repository for installation has no repository dependencies while at least one selected repository for installation does. This scenario occurs only when searching the tool shed for tools rather than browssing it for repositories. --- lib/tool_shed/util/common_install_util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tool_shed/util/common_install_util.py b/lib/tool_shed/util/common_install_util.py index 39b40721835..83c86eefe75 100644 --- a/lib/tool_shed/util/common_install_util.py +++ b/lib/tool_shed/util/common_install_util.py @@ -252,6 +252,8 @@ def get_required_repo_info_dicts( trans, tool_shed_url, repo_info_dicts ): # We'll send tuples of ( tool_shed, repository_name, repository_owner, changeset_revision ) to the tool shed to discover repository ids. required_repository_tups = [] for repo_info_dict in repo_info_dicts: + if repo_info_dict not in all_repo_info_dicts: + all_repo_info_dicts.append( repo_info_dict ) for repository_name, repo_info_tup in repo_info_dict.items(): description, repository_clone_url, changeset_revision, ctx_rev, repository_owner, repository_dependencies, tool_dependencies = \ suc.get_repo_info_tuple_contents( repo_info_tup )