Changeset 919:2ce8ca39525b for src/mlx/const.py
- Timestamp:
- 03/24/19 08:15:59 (5 years ago)
- Branch:
- python3
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/const.py
r911 r919 193 193 def aircraftType2Family(aircraftType): 194 194 """Get the family for the given aircraft type.""" 195 for (family, types) in aircraftFamily2Types.ite ritems():195 for (family, types) in aircraftFamily2Types.items(): 196 196 if aircraftType in types: 197 197 return family … … 424 424 def string2messageLevel(str): 425 425 """Get the message level for the given string.""" 426 for (value, s) in _messageLevelStrings.ite ritems():426 for (value, s) in _messageLevelStrings.items(): 427 427 if str==s: 428 428 return value
Note:
See TracChangeset
for help on using the changeset viewer.