Changeset 220:96ad81e11b85 for src/mlx/pirep.py
- Timestamp:
- 06/04/12 09:53:04 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/pirep.py
r151 r220 10 10 class PIREP(object): 11 11 """A pilot's report of a flight.""" 12 _delayCodeNames = { const.DELAYCODE_LOADING : "Loading Problems",13 14 15 16 17 18 19 20 21 12 delayCodeNames = { const.DELAYCODE_LOADING : "Loading Problems", 13 const.DELAYCODE_NETWORK : "Net Problems", 14 const.DELAYCODE_SYSTEM : "System Crash/Freezing", 15 const.DELAYCODE_TRAFFIC : "Traffic Problems", 16 const.DELAYCODE_WEATHER : "Weather Problems", 17 const.DELAYCODE_VATSIM : "VATSIM Problem", 18 const.DELAYCODE_CONTROLLER : "Controller's Fault", 19 const.DELAYCODE_NAVIGATION : "Navigation Problem", 20 const.DELAYCODE_APRON : "Apron Navigation Problems", 21 const.DELAYCODE_PERSONAL : "Personal Reasons" } 22 22 23 23 @staticmethod … … 117 117 for code in self.delayCodes: 118 118 if s: s += ", " 119 s += PIREP. _delayCodeNames[code]119 s += PIREP.delayCodeNames[code] 120 120 return s 121 121
Note:
See TracChangeset
for help on using the changeset viewer.