commit/galaxy-central: jgoecks: Fix bug that prevented datasources from being returned correctly.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/757217fbae19/ changeset: 757217fbae19 user: jgoecks date: 2013-01-09 17:15:11 summary: Fix bug that prevented datasources from being returned correctly. affected #: 1 file diff -r 6ef9b038e329b6ee4e71ef1d1b1a22b9b2000ca1 -r 757217fbae1981bc66d05076ab93dcbc92dca072 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -1335,7 +1335,9 @@ # Loop through sources until viable one is found. for source in source_list: msg = self.convert_dataset( trans, source ) - if msg == self.conversion_messages.PENDING: + # No message or PENDING means that source is viable. No + # message indicates conversion was done and is successful. + if not msg or msg == self.conversion_messages.PENDING: data_source = source break 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)
-
Bitbucket