(bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684

This commit is contained in:
Giampaolo Rodola' 2011-12-19 19:12:01 +01:00
parent 2b1cc89572
commit 2fa22818bd
1 changed files with 4 additions and 1 deletions

View File

@ -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"]