[hg] galaxy 2514: Fix for trans.log_event when undeleting a hist...
details: http://www.bx.psu.edu/hg/galaxy/rev/904a72f5cf4c changeset: 2514:904a72f5cf4c user: Dan Blankenberg <dan@bx.psu.edu> date: Thu Jul 30 15:03:53 2009 -0400 description: Fix for trans.log_event when undeleting a history. 1 file(s) affected in this change: lib/galaxy/web/controllers/history.py diffs (12 lines): diff -r 3574137cf7fb -r 904a72f5cf4c lib/galaxy/web/controllers/history.py --- a/lib/galaxy/web/controllers/history.py Thu Jul 30 14:13:04 2009 -0400 +++ b/lib/galaxy/web/controllers/history.py Thu Jul 30 15:03:53 2009 -0400 @@ -166,7 +166,7 @@ default_permissions[ default_action ] = [ private_user_role ] trans.app.security_agent.history_set_default_permissions( history, default_permissions ) n_undeleted += 1 - trans.log_event( "History (%s) %d marked as undeleted" % history.name ) + trans.log_event( "History (%s) %d marked as undeleted" % ( history.name, history.id ) ) status = SUCCESS message_parts = [] if n_undeleted:
participants (1)
-
Dan Blankenberg