commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b245b46ec4c0/ Changeset: b245b46ec4c0 Branch: cleanup_datasets_unicode_fix User: lance_parsons Date: 2013-07-22 20:24:13 Summary: Fix unicode issue when printing history names in cleanup_datasets.py script Affected #: 1 file diff -r b72d967e0cf4a506f0bfbcef0f068fe1709659e9 -r b245b46ec4c09947613477cf1839070f91ce5a86 scripts/cleanup_datasets/cleanup_datasets.py --- a/scripts/cleanup_datasets/cleanup_datasets.py +++ b/scripts/cleanup_datasets/cleanup_datasets.py @@ -175,7 +175,7 @@ app.model.History.table.c.update_time < cutoff_time ) ) \ .options( eagerload( 'datasets' ) ) for history in histories: - print "### Processing history id %d (%s)" % (history.id, history.name) + print ("### Processing history id %d (%s)" % (history.id, history.name)).encode('utf-8') for dataset_assoc in history.datasets: _purge_dataset_instance( dataset_assoc, app, remove_from_disk, info_only = info_only ) #mark a DatasetInstance as deleted, clear associated files, and mark the Dataset as deleted if it is deletable if not info_only: https://bitbucket.org/galaxy/galaxy-central/commits/fe5a566cb0d8/ Changeset: fe5a566cb0d8 User: dannon Date: 2013-08-15 17:18:37 Summary: Merged in lance_parsons/galaxy-central-pull-requests/cleanup_datasets_unicode_fix (pull request #196) Fix unicode issue when printing history names in cleanup_datasets.py script Affected #: 1 file diff -r 57348d7dcddfecf058916b3ff4d04fecb6a15301 -r fe5a566cb0d8419d17fae52dfe88f2c9822261ab scripts/cleanup_datasets/cleanup_datasets.py --- a/scripts/cleanup_datasets/cleanup_datasets.py +++ b/scripts/cleanup_datasets/cleanup_datasets.py @@ -175,7 +175,7 @@ app.model.History.table.c.update_time < cutoff_time ) ) \ .options( eagerload( 'datasets' ) ) for history in histories: - print "### Processing history id %d (%s)" % (history.id, history.name) + print ("### Processing history id %d (%s)" % (history.id, history.name)).encode('utf-8') for dataset_assoc in history.datasets: _purge_dataset_instance( dataset_assoc, app, remove_from_disk, info_only = info_only ) #mark a DatasetInstance as deleted, clear associated files, and mark the Dataset as deleted if it is deletable if not info_only: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org