From 540b3f26908c65c61b403b171c78b09bce2572d9 Mon Sep 17 00:00:00 2001 From: rhealitycheck Date: Wed, 23 Sep 2015 15:11:55 -0500 Subject: [PATCH] Update mongo_return.py --- salt/returners/mongo_return.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/salt/returners/mongo_return.py b/salt/returners/mongo_return.py index 3e05c74177..4e3f4e3094 100644 --- a/salt/returners/mongo_return.py +++ b/salt/returners/mongo_return.py @@ -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: