mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update mongo_return.py
This commit is contained in:
parent
405edd0718
commit
540b3f2690
1 changed files with 0 additions and 2 deletions
|
@ -119,13 +119,11 @@ def _get_conn(ret):
|
|||
user = _options.get('user')
|
||||
password = _options.get('password')
|
||||
indexes = _options.get('indexes', False)
|
||||
|
||||
'''
|
||||
at some point we should remove support for
|
||||
pymongo versions < 2.3 until then there are
|
||||
a bunch of these sections that need to be supported
|
||||
'''
|
||||
|
||||
if float(version) > 2.3:
|
||||
conn = pymongo.MongoClient(host, port)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue