# HG changeset patch # User Paul Boddie # Date 1461349851 -7200 # Node ID 5f8c76782d8344c84297bbd2e48abd2e58b2d307 # Parent 223112468db38daf84c46fd2c50c216895121183 Fixed erroneous scheduling attempts in the next-free scheduling method. diff -r 223112468db3 -r 5f8c76782d83 imiptools/handlers/scheduling/freebusy.py --- a/imiptools/handlers/scheduling/freebusy.py Fri Apr 22 20:28:02 2016 +0200 +++ b/imiptools/handlers/scheduling/freebusy.py Fri Apr 22 20:30:51 2016 +0200 @@ -147,9 +147,9 @@ if permitted_values: period = period.get_corrected(permitted_values) - scheduled = handler.can_schedule(freebusy, [period]) + scheduled = handler.can_schedule(busy, [period]) - if scheduled == "ACCEPTED": + if scheduled: periods.append(period) last = period.get_end() continue