commit/galaxy-central: natefoo: Fix history rename_async under uwsgi.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/3cabb73f554e/ Changeset: 3cabb73f554e User: natefoo Date: 2013-10-04 20:50:39 Summary: Fix history rename_async under uwsgi. Affected #: 1 file diff -r 2dcd992a28f36431bf5a76c5662896256b172175 -r 3cabb73f554e53064f6fb88234e2f535caa39bb4 lib/galaxy/webapps/galaxy/controllers/history.py --- a/lib/galaxy/webapps/galaxy/controllers/history.py +++ b/lib/galaxy/webapps/galaxy/controllers/history.py @@ -627,10 +627,11 @@ else: assert history.user == trans.user # Rename - history.name = sanitize_html( new_name ) + new_name = sanitize_html( new_name ) + history.name = new_name trans.sa_session.add( history ) trans.sa_session.flush() - return history.name + return new_name @web.expose @web.require_login( "use Galaxy histories" ) 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