changeset: 74086:50267d2bb320 user: Giampaolo Rodola' date: Mon Dec 19 19:12:01 2011 +0100 files: Lib/sched.py description: (bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684 diff -r a882aa30a713 -r 50267d2bb320 Lib/sched.py --- a/Lib/sched.py Mon Dec 19 18:19:06 2011 +0100 +++ b/Lib/sched.py Mon Dec 19 19:12:01 2011 +0100 @@ -30,8 +30,11 @@ import time import heapq -import threading from collections import namedtuple +try: + import threading +except ImportError: + import dummy_threading as threading __all__ = ["scheduler"]