Skip to content

Commit

Permalink
Correct errors found by Nicola.
Browse files Browse the repository at this point in the history
  • Loading branch information
davebx committed Aug 11, 2015
1 parent 624cf19 commit d7e6d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
Expand Up @@ -559,6 +559,7 @@ def install_latest_repository_revision( self, trans, **kwd ):
owner=owner,
changeset_revisions=str( latest_downloadable_revision ),
galaxy_url=web.url_for( '/', qualified=True ) )
pathspec = [ 'repository', 'install_repositories_by_revision' ]
url = common_util.url_join( tool_shed_url, pathspec=pathspec, params=params )
return trans.response.send_redirect( url )
else:
Expand Down Expand Up @@ -981,7 +982,6 @@ def prepare_for_install( self, trans, **kwd ):
# For backward compatibility to the 12/20/12 Galaxy release.
try:
params = dict( name=str( repository.name ), owner=str( repository.owner ) )
# params = '?name=%s&owner=%s' % ( str( repository.name ), str( repository.owner ) )
pathspec = [ 'repository', 'get_repository_id' ]
repository_ids = common_util.tool_shed_get( trans.app, tool_shed_url, pathspec=pathspec, params=params )
except Exception, e:
Expand Down

0 comments on commit d7e6d62

Please sign in to comment.