def generate_repository_dependencies_key_for_repository(toolshed_base_url, repository_name, repository_owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td):
 tool_shed = common_util.remove_protocol_from_tool_shed_url(toolshed_base_url)
 return ('%s%s%s%s%s%s%s%s%s%s%s' % (tool_shed, STRSEP, str(repository_name), STRSEP, str(repository_owner), STRSEP, str(changeset_revision), STRSEP, str(prior_installation_required), STRSEP, str(only_if_compiling_contained_td)))

def generate_repository_dependencies_key_for_repository ( toolshed_base_url , repository_name , repository_owner , changeset_revision , prior_installation_required , only_if_compiling_contained_td ) : tool_shed = common_util . remove_protocol_from_tool_shed_url ( toolshed_base_url ) return ( '%s%s%s%s%s%s%s%s%s%s%s' % ( tool_shed , STRSEP , str ( repository_name ) , STRSEP , str ( repository_owner ) , STRSEP , str ( changeset_revision ) , STRSEP , str ( prior_installation_required ) , STRSEP , str ( only_if_compiling_contained_td ) ) )
assumes tool shed is current tool shed since repository dependencies across tool sheds is not yet supported .