Skip to content

Commit

Permalink
Remove spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Oct 4, 2017
1 parent e31b37e commit 200a74a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ def browse_repositories(self, trans, **kwd):
message, status = repository_util.check_for_updates(trans.app, trans.install_model, kwd.get('id'))
if message and status:
kwd['message'] = util.sanitize_text(message)
kwd['status'] = 'success' if status in [ 'ok', 'done', 'success' ] else 'error'
kwd['status'] = 'success' if status in ['ok', 'done', 'success'] else 'error'
kwd['dict_format'] = True
return self.installed_repository_grid(trans, **kwd)

@web.expose
@web.require_admin
def restore_repository (self, trans, **kwd):
def restore_repository(self, trans, **kwd):
repository = repository_util.get_installed_tool_shed_repository(trans.app, kwd['id'])
if repository.uninstalled:
# Since we're reinstalling the repository we need to find the latest changeset revision to which it can
Expand Down

0 comments on commit 200a74a

Please sign in to comment.