diff --git a/.gitignore b/.gitignore index 7c0a9172..b180e87e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,6 @@ env/ .project .pydevproject tests/test_bugfix.py -htmlcov/ \ No newline at end of file +htmlcov/ +venv +venv3 diff --git a/mongoengine/python_support.py b/mongoengine/python_support.py index e51e1bc9..4c79a259 100644 --- a/mongoengine/python_support.py +++ b/mongoengine/python_support.py @@ -2,6 +2,10 @@ Helper functions, constants, and types to aid with Python v2.7 - v3.x and PyMongo v2.7 - v3.x support. """ + +import sys +import warnings + import pymongo import six