Fix for recent LWR message queue commit.

Was always trying to bind to message queue.
This commit is contained in:
John Chilton
2014-02-18 06:32:08 -06:00
parent c60d06ab22
commit 5efad22c03
@@ -37,7 +37,7 @@ DEFAULT_TRANSFER_THREADS = 2
def build_client_manager(**kwargs):
if 'job_manager' in kwargs:
return ClientManager(**kwargs) # TODO: Consider more separation here.
elif 'url' in kwargs:
elif kwargs.get('url', None):
return MessageQueueClientManager(**kwargs)
else:
return ClientManager(**kwargs)