(bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684
This commit is contained in:
parent
2b1cc89572
commit
2fa22818bd
|
@ -30,8 +30,11 @@ has another way to reference private data (besides global variables).
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import heapq
|
import heapq
|
||||||
import threading
|
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
try:
|
||||||
|
import threading
|
||||||
|
except ImportError:
|
||||||
|
import dummy_threading as threading
|
||||||
|
|
||||||
__all__ = ["scheduler"]
|
__all__ = ["scheduler"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue