diff options
Diffstat (limited to 'dogpile/core/util.py')
-rw-r--r-- | dogpile/core/util.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dogpile/core/util.py b/dogpile/core/util.py index ac40554..f53c681 100644 --- a/dogpile/core/util.py +++ b/dogpile/core/util.py @@ -1,7 +1,8 @@ +import sys +py3k = sys.version_info >= (3, 0) + try: import threading - import thread except ImportError: import dummy_threading as threading - import dummy_thread as thread |