[hg] galaxy 2883: Remove a debug statement, slight cleanup.
details: http://www.bx.psu.edu/hg/galaxy/rev/878ca31a4995 changeset: 2883:878ca31a4995 user: Greg Von Kuster <greg@bx.psu.edu> date: Wed Oct 14 09:33:56 2009 -0400 description: Remove a debug statement, slight cleanup. 3 file(s) affected in this change: lib/galaxy/web/controllers/forms.py lib/galaxy/web/controllers/library.py lib/galaxy/web/controllers/library_admin.py diffs (37 lines): diff -r ca816e66ec69 -r 878ca31a4995 lib/galaxy/web/controllers/forms.py --- a/lib/galaxy/web/controllers/forms.py Wed Oct 14 02:22:11 2009 -0400 +++ b/lib/galaxy/web/controllers/forms.py Wed Oct 14 09:33:56 2009 -0400 @@ -135,7 +135,6 @@ renaming fields, adding/deleting fields, changing fields attributes. ''' params = util.Params( kwd ) - log.debug( kwd ) msg = util.restore_text( params.get( 'msg', '' ) ) messagetype = params.get( 'messagetype', 'done' ) try: diff -r ca816e66ec69 -r 878ca31a4995 lib/galaxy/web/controllers/library.py --- a/lib/galaxy/web/controllers/library.py Wed Oct 14 02:22:11 2009 -0400 +++ b/lib/galaxy/web/controllers/library.py Wed Oct 14 09:33:56 2009 -0400 @@ -114,7 +114,8 @@ created_ldda_ids = params.get( 'created_ldda_ids', '' ) hidden_folder_ids = util.listify( util.restore_text( params.get( 'hidden_folder_ids', '' ) ) ) if created_ldda_ids and not msg: - msg = "%d datasets are now uploading in the background to the library '%s' ( each is selected ). Please do not navigate away from Galaxy or use the browser's \"stop\" or \"reload\" buttons (on this tab) until the upload(s) change from the \"uploading\" state." % ( len( created_ldda_ids.split(',') ), library.name ) + msg = "%d datasets are now uploading in the background to the library '%s' ( each is selected ). " % ( len( created_ldda_ids.split(',') ), library.name ) + msg += "Do not navigate away from Galaxy or use the browser's \"stop\" or \"reload\" buttons ( on this tab ) until the upload(s) change from the \"uploading\" state." messagetype = "info" return trans.fill_template( '/library/browse_library.mako', library=library, diff -r ca816e66ec69 -r 878ca31a4995 lib/galaxy/web/controllers/library_admin.py --- a/lib/galaxy/web/controllers/library_admin.py Wed Oct 14 02:22:11 2009 -0400 +++ b/lib/galaxy/web/controllers/library_admin.py Wed Oct 14 09:33:56 2009 -0400 @@ -50,7 +50,8 @@ messagetype='error' ) ) created_ldda_ids = params.get( 'created_ldda_ids', '' ) if created_ldda_ids and not msg: - msg = "%d datasets are now uploading in the background to the library '%s' ( each is selected ). Please do not navigate away from Galaxy or use the browser's \"stop\" or \"reload\" buttons (on this tab) until the upload(s) change from the \"uploading\" state." % ( len( created_ldda_ids.split(',') ), library.name ) + msg = "%d datasets are now uploading in the background to the library '%s' ( each is selected ). " % ( len( created_ldda_ids.split( ',' ) ), library.name ) + msg += "Do not navigate away from Galaxy or use the browser's \"stop\" or \"reload\" buttons ( on this tab ) until the upload(s) change from the \"uploading\" state." messagetype = "info" return trans.fill_template( '/admin/library/browse_library.mako', library=library,
participants (1)
-
Greg Von Kuster