ssl option added to transport mongodb transport

This commit is contained in:
xando 2013-02-22 16:33:26 +01:00 committed by Ask Solem
parent 3b76530568
commit 22990089d5
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class Channel(virtual.Channel):
#
# mongodb://[username:password@]host1[:port1][,host2[:port2],
# ...[,hostN[:portN]]][/[?options]]
mongoconn = Connection(host=hostname)
mongoconn = Connection(host=hostname, ssl=conninfo.ssl)
version = mongoconn.server_info()['version']
if tuple(map(int, version.split('.')[:2])) < (1, 3):
raise NotImplementedError(