1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/2e8ad17c1786/ changeset: 2e8ad17c1786 user: greg date: 2013-02-07 22:36:53 summary: Fix the operation handling in the rols and groups methos of the Admin controller. affected #: 1 file diff -r ce9789a35356da2b2ee4ae723506d5af57a0ce69 -r 2e8ad17c1786b73ca6a5b9d60dcdf69ef7e50f4d lib/galaxy/web/base/controllers/admin.py --- a/lib/galaxy/web/base/controllers/admin.py +++ b/lib/galaxy/web/base/controllers/admin.py @@ -1,3 +1,4 @@ +import logging from datetime import datetime, timedelta from string import punctuation as PUNCTUATION @@ -7,6 +8,8 @@ from galaxy.util import inflector from galaxy.web.form_builder import CheckboxField +log = logging.getLogger( __name__ ) + class Admin( object ): # Override these user_list_grid = None @@ -76,7 +79,7 @@ @web.require_admin def roles( self, trans, **kwargs ): if 'operation' in kwargs: - operation = kwargs['operation'].lower() + operation = kwargs[ 'operation' ].lower().replace( '+', ' ' ) if operation == "roles": return self.role( trans, **kwargs ) if operation == "create": @@ -411,7 +414,7 @@ @web.require_admin def groups( self, trans, **kwargs ): if 'operation' in kwargs: - operation = kwargs['operation'].lower() + operation = kwargs[ 'operation' ].lower().replace( '+', ' ' ) if operation == "groups": return self.group( trans, **kwargs ) if operation == "create": Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.