mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Clean up remaining references to galaxy.util.shed_util_common.
This commit is contained in:
@@ -920,7 +920,7 @@ class Tool( object ):
|
||||
def tool_shed_repository( self ):
|
||||
# If this tool is included in an installed tool shed repository, return it.
|
||||
if self.tool_shed:
|
||||
return galaxy.util.shed_util_common.get_tool_shed_repository_by_shed_name_owner_installed_changeset_revision( self.app,
|
||||
return tool_shed.util.shed_util_common.get_tool_shed_repository_by_shed_name_owner_installed_changeset_revision( self.app,
|
||||
self.tool_shed,
|
||||
self.repository_name,
|
||||
self.repository_owner,
|
||||
|
||||
@@ -28,7 +28,7 @@ class InstalledRepositoryManager( object ):
|
||||
ElementInclude.include( root )
|
||||
tool_path = root.get( 'tool_path', None )
|
||||
if tool_path:
|
||||
tool_shed = galaxy.util.shed_util_common.clean_tool_shed_url( tool_shed_repository.tool_shed )
|
||||
tool_shed = tool_shed.util.shed_util_common.clean_tool_shed_url( tool_shed_repository.tool_shed )
|
||||
relative_path = os.path.join( tool_path,
|
||||
tool_shed,
|
||||
'repos',
|
||||
|
||||
Reference in New Issue
Block a user