mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
linting fixes
This commit is contained in:
@@ -224,10 +224,9 @@ class ToolsController( BaseAPIController, UsesVisualizationMixin ):
|
||||
raise exceptions.MessageException( 'Tool not found or not accessible.' )
|
||||
if trans.app.config.user_activation_on:
|
||||
if not trans.user:
|
||||
log.warning("Anonymous user attempts to execute tool, but account activation is turned on")
|
||||
log.warning( "Anonymous user attempts to execute tool, but account activation is turned on." )
|
||||
elif not trans.user.active:
|
||||
log.warning("User \"%s\" attempts to execute tool, but account activation is turned on and user account is not active" % trans.user.email )
|
||||
|
||||
log.warning( "User \"%s\" attempts to execute tool, but account activation is turned on and user account is not active." % trans.user.email )
|
||||
|
||||
# Set running history from payload parameters.
|
||||
# History not set correctly as part of this API call for
|
||||
|
||||
Reference in New Issue
Block a user