Remove a debug statement, slight cleanup.

This commit is contained in:
Greg Von Kuster
2009-10-14 09:33:56 -04:00
parent 45739d03c5
commit 534c10b36d
3 changed files with 4 additions and 3 deletions
-1
View File
@@ -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:
+2 -1
View File
@@ -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,
+2 -1
View File
@@ -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,