imip-agent

imiptools/handlers/scheduling/manifest.py

1040:8f2b373a311b
2016-02-08 Paul Boddie Introduced compound locking so that information can be in a consistent state for scheduling functions and confirmation functions within the same transaction, unchanged by concurrent transactions.
     1 confirmation_functions = {}     2 locking_functions = {}     3 retraction_functions = {}     4 scheduling_functions = {}     5 unlocking_functions = {}     6      7 from imiptools.handlers.scheduling.quota import (     8     confirmation_functions as c,     9     locking_functions as l,    10     retraction_functions as r,    11     scheduling_functions as s,    12     unlocking_functions as u)    13     14 confirmation_functions.update(c)    15 locking_functions.update(l)    16 retraction_functions.update(r)    17 scheduling_functions.update(s)    18 unlocking_functions.update(u)    19     20 from imiptools.handlers.scheduling.freebusy import (    21     confirmation_functions as c,    22     locking_functions as l,    23     retraction_functions as r,    24     scheduling_functions as s,    25     unlocking_functions as u)    26     27 confirmation_functions.update(c)    28 locking_functions.update(l)    29 retraction_functions.update(r)    30 scheduling_functions.update(s)    31 unlocking_functions.update(u)    32     33 from imiptools.handlers.scheduling.access import (    34     confirmation_functions as c,    35     locking_functions as l,    36     retraction_functions as r,    37     scheduling_functions as s,    38     unlocking_functions as u)    39     40 confirmation_functions.update(c)    41 locking_functions.update(l)    42 retraction_functions.update(r)    43 scheduling_functions.update(s)    44 unlocking_functions.update(u)    45