From 887e92a12b7701b8a9901a98f7e0a3263d8ceb5f Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 6 Sep 2004 08:20:26 +0000 Subject: [PATCH] Don't make those error logs if we're testing. --- src/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schedule.py b/src/schedule.py index fe800b088..201c0fc1c 100644 --- a/src/schedule.py +++ b/src/schedule.py @@ -119,7 +119,7 @@ class Schedule(drivers.IrcDriver): removePeriodicEvent = removeEvent def run(self): - if len(drivers._drivers) == 1: + if len(drivers._drivers) == 1 and not world.testing: log.error('Schedule is the only remaining driver, ' 'why do we continue to live?') time.sleep(1) # We're the only driver; let's pause to think.