commit/galaxy-central: greg: Fix for bug introduced when I eliminated the use of trans from the tool shed's review_util.py module.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5242547f33ed/ Changeset: 5242547f33ed User: greg Date: 2014-07-18 12:50:16 Summary: Fix for bug introduced when I eliminated the use of trans from the tool shed's review_util.py module. Affected #: 1 file diff -r 6609ad71320787b849d6d68522b9f346090706c5 -r 5242547f33ed801a83837de5d507cc4b4c2eb6ff lib/tool_shed/util/review_util.py --- a/lib/tool_shed/util/review_util.py +++ b/lib/tool_shed/util/review_util.py @@ -41,8 +41,8 @@ def get_component_by_name( app, name ): """Get a component from the database via a name.""" sa_session = app.model.context.current - return sa_session.query( app.app.model.Component ) \ - .filter( app.app.model.Component.table.c.name==name ) \ + return sa_session.query( app.model.Component ) \ + .filter( app.model.Component.table.c.name==name ) \ .first() def get_component_review_by_repository_review_id_component_id( app, repository_review_id, component_id ): 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.
participants (1)
-
commits-noreply@bitbucket.org