commit/galaxy-central: natefoo: Correctly handle the case where the AMQP SSL connection param parser gets params=None.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c0eb8b472f3c/ Changeset: c0eb8b472f3c User: natefoo Date: 2014-05-14 22:27:28 Summary: Correctly handle the case where the AMQP SSL connection param parser gets params=None. Affected #: 1 file diff -r b483d9df129c00480fc72253a277de18ab67b27d -r c0eb8b472f3ccabdfd1b0396dbf92c34f3140200 lib/galaxy/jobs/runners/lwr_client/util.py --- a/lib/galaxy/jobs/runners/lwr_client/util.py +++ b/lib/galaxy/jobs/runners/lwr_client/util.py @@ -65,7 +65,9 @@ def parse_amqp_connect_ssl_params(params): ssl = None rval = None - ssl_options = filter(lambda x: x.startswith('amqp_connect_ssl_'), params.keys()) + ssl_options = [] + if params: + ssl_options = filter(lambda x: x.startswith('amqp_connect_ssl_'), params.keys()) if ssl_options: ssl = __import__('ssl') rval = {} 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