py3: Fix thread import

This commit is contained in:
Stein Magnus Jodal 2014-09-15 23:17:23 +02:00
parent 151986328e
commit c2810d0423

View File

@ -2,7 +2,10 @@ from __future__ import unicode_literals
import logging
import signal
import thread
try:
import _thread as thread # Python 3
except ImportError:
import thread # Python 2
import threading
from pykka import ActorDeadError