Changeset 562:1d03568e5f67 for src
- Timestamp:
- 02/22/14 06:17:08 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r548 r562 590 590 #--------------------------------------------------------------------------------------- 591 591 592 class LightsLogger(StateChangeLogger, SingleValueMixin, SimpleChangeMixin):592 class LightsLogger(StateChangeLogger, SingleValueMixin, DelayedChangeMixin): 593 593 """Base class for the loggers of the various lights.""" 594 594 def __init__(self, attrName, template): … … 596 596 StateChangeLogger.__init__(self) 597 597 SingleValueMixin.__init__(self, attrName) 598 DelayedChangeMixin.__init__(self) 599 self._getLogTimestamp = \ 600 lambda state, forced: \ 601 DelayedChangeMixin._getLogTimestamp(self, state, forced) 598 602 599 603 self._template = template
Note:
See TracChangeset
for help on using the changeset viewer.