diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-05-30 01:09:16 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2009-05-30 01:09:16 +0000 |
| commit | 13d4004774b8ea14e8ef1614bea7105122878748 (patch) | |
| tree | 96a4e80196ab4f1d5601be1636d6a6936cd246e1 /lib/sqlalchemy/util.py | |
| parent | 5ea1d673151a2a94b41d3131345464dfddaea95b (diff) | |
| download | sqlalchemy-13d4004774b8ea14e8ef1614bea7105122878748.tar.gz | |
removed needless "thread" imports from util
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) |
