1.1 --- a/imiptools/handlers/resource.py Sat Jan 30 17:24:39 2016 +0100
1.2 +++ b/imiptools/handlers/resource.py Sun Jan 31 00:45:26 2016 +0100
1.3 @@ -22,8 +22,7 @@
1.4 from imiptools.data import get_address, to_part, uri_dict
1.5 from imiptools.handlers import Handler
1.6 from imiptools.handlers.common import CommonFreebusy, CommonEvent
1.7 -from imiptools.handlers.scheduling import apply_scheduling_functions, \
1.8 - scheduling_functions
1.9 +from imiptools.handlers.scheduling import apply_scheduling_functions
1.10
1.11 class ResourceHandler(CommonEvent, Handler):
1.12
1.13 @@ -168,10 +167,6 @@
1.14 functions = self.get_preferences().get("scheduling_function",
1.15 "schedule_in_freebusy").split("\n")
1.16
1.17 - # Obtain the actual scheduling functions.
1.18 -
1.19 - functions = map(scheduling_functions.get, functions)
1.20 -
1.21 return apply_scheduling_functions(functions, self)
1.22
1.23 class Event(ResourceHandler):