diff options
Diffstat (limited to 'lib/sqlalchemy/util.py')
| -rw-r--r-- | lib/sqlalchemy/util.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index dbc7d3ea4..8eeeda455 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -11,12 +11,9 @@ types = __import__('types') from sqlalchemy import exc try: - import thread, threading - from threading import local as ThreadLocal + import threading except ImportError: - import dummy_thread as thread import dummy_threading as threading - from dummy_threading import local as ThreadLocal py3k = getattr(sys, 'py3kwarning', False) or sys.version_info >= (3, 0) |
