mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Correctly handle the case where the AMQP SSL connection param parser gets params=None.
This commit is contained in:
@@ -65,7 +65,9 @@ def directory_files(directory):
|
||||
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 = {}
|
||||
|
||||
Reference in New Issue
Block a user