1.1 --- a/imiptools/handlers/scheduling/__init__.py Thu May 12 23:05:48 2016 +0200
1.2 +++ b/imiptools/handlers/scheduling/__init__.py Thu May 12 23:15:18 2016 +0200
1.3 @@ -59,8 +59,8 @@
1.4 if not fn:
1.5 return "DECLINED", None
1.6
1.7 - # Keep evaluating scheduling functions, stopping only if one
1.8 - # declines or gives a null response.
1.9 + # Keep evaluating scheduling functions, stopping if one declines or
1.10 + # gives a null response, or if one delegates to another resource.
1.11
1.12 else:
1.13 result = fn(handler, args)
1.14 @@ -68,7 +68,7 @@
1.15
1.16 # Return a negative result immediately.
1.17
1.18 - if result == "DECLINED":
1.19 + if result in ("DECLINED", "DELEGATED"):
1.20 return result, description
1.21
1.22 # Modify the eventual response from acceptance if a countering