mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove a debug statement, slight cleanup.
This commit is contained in:
@@ -135,7 +135,6 @@ class Forms( BaseController ):
|
||||
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:
|
||||
|
||||
@@ -114,7 +114,8 @@ class Library( BaseController ):
|
||||
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,
|
||||
|
||||
@@ -50,7 +50,8 @@ class LibraryAdmin( BaseController ):
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user