Changeset 375:9db0cb4a0040 for src/mlx
- Timestamp:
- 12/18/12 10:19:15 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r374 r375 1079 1079 def logFault(self, flight, aircraft, logger, oldState, state): 1080 1080 """Log the fault.""" 1081 score = 0 if flight.stage==const.STAGE_LANDING else 1 1081 score = 0 if flight.stage in [const.STAGE_TAKEOFF, 1082 const.STAGE_LANDING] else 1 1082 1083 message = "Landing lights were %s" % \ 1083 1084 (("on" if state.landingLightsOn else "off"),)
Note:
See TracChangeset
for help on using the changeset viewer.