Changeset 899:ec5238c77005 for src/mlx/flight.py
- Timestamp:
- 03/16/18 09:00:12 (6 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/flight.py
r846 r899 152 152 153 153 @property 154 def numCockpitCrew(self): 155 """Get the number of cockpit crew members on the flight.""" 156 return self._gui.numCockpitCrew 157 158 @property 159 def numCabinCrew(self): 160 """Get the number of cabon crew members on the flight.""" 161 return self._gui.numCabinCrew 162 163 @property 154 164 def numCrew(self): 155 165 """Get the number of crew members on the flight.""" 156 return self. _gui.numCrew166 return self.numCockpitCrew + self.numCabinCrew 157 167 158 168 @property
Note:
See TracChangeset
for help on using the changeset viewer.