[hg] galaxy 2350: Fix a bug in workflow sharing
details: http://www.bx.psu.edu/hg/galaxy/rev/f447719533f3 changeset: 2350:f447719533f3 user: James Taylor <james@jamestaylor.org> date: Mon Apr 20 13:07:25 2009 -0400 description: Fix a bug in workflow sharing 1 file(s) affected in this change: lib/galaxy/web/controllers/workflow.py diffs (12 lines): diff -r 2f4d3387c589 -r f447719533f3 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py Fri Apr 17 13:54:00 2009 -0400 +++ b/lib/galaxy/web/controllers/workflow.py Mon Apr 20 13:07:25 2009 -0400 @@ -76,7 +76,7 @@ if not other: mtype = "error" msg = ( "User '%s' does not exist" % email ) - if other == trans.get_user(): + elif other == trans.get_user(): mtype = "error" msg = ( "You cannot share a workflow with yourself" ) elif trans.sa_session.query( model.StoredWorkflowUserShareAssociation ) \
participants (1)
-
Nate Coraor