cpython: 50267d2bb320 (original) (raw)

Mercurial > cpython

changeset 74086:50267d2bb320

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

Giampaolo Rodola' g.rodola@gmail.com
date Mon, 19 Dec 2011 19:12:01 +0100
parents a882aa30a713
children d2df3396fef0
files Lib/sched.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-)[+] [-] Lib/sched.py 5

line wrap: on

line diff

--- a/Lib/sched.py +++ b/Lib/sched.py @@ -30,8 +30,11 @@ has another way to reference private dat import time import heapq -import threading from collections import namedtuple +try:

+except ImportError:

all = ["scheduler"]