- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/pirep.py
r401 r437 19 19 class PIREP(object): 20 20 """A pilot's report of a flight.""" 21 delayCodeNames = { const.DELAYCODE_LOADING : "Loading Problems",22 const.DELAYCODE_NETWORK : "Net Problems",23 const.DELAYCODE_SYSTEM : "System Crash/Freezing",24 const.DELAYCODE_TRAFFIC : "Traffic Problems",25 const.DELAYCODE_WEATHER : "Weather Problems",26 const.DELAYCODE_VATSIM : "VATSIM Problem",27 const.DELAYCODE_CONTROLLER : "Controller's Fault",28 const.DELAYCODE_NAVIGATION : "Navigation Problem",29 const.DELAYCODE_APRON : "Apron Navigation Problems",30 const.DELAYCODE_PERSONAL : "Personal Reasons" }31 32 21 @staticmethod 33 22 def _formatLine(timeStr, line): … … 140 129 for code in self.delayCodes: 141 130 if s: s += ", " 142 s += PIREP.delayCodeNames[code]131 s += code 143 132 return s 144 133
Note:
See TracChangeset
for help on using the changeset viewer.