commit | 2fa22818bdaf8ab0aec99f7790a938acf22c18b2 | [log] [tgz] |
---|---|---|
author | Giampaolo Rodola' <g.rodola@gmail.com> | Mon Dec 19 19:12:01 2011 +0100 |
committer | Giampaolo Rodola' <g.rodola@gmail.com> | Mon Dec 19 19:12:01 2011 +0100 |
tree | a448870e05bc75fe940c408fc30659df39fdf423 | |
parent | 2b1cc895729710e3e1751f4b1867299821e04c03 [diff] [blame] |
(bug #8684) fix 'fedora without thread buildbot' as per http://bugs.python.org/issue8684
diff --git a/Lib/sched.py b/Lib/sched.py index 5292fcf..bd1f427 100644 --- a/Lib/sched.py +++ b/Lib/sched.py
@@ -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"]