Ignore:
Timestamp:
03/24/19 08:15:59 (4 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Ran 2to3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/const.py

    r911 r919  
    193193def aircraftType2Family(aircraftType):
    194194    """Get the family for the given aircraft type."""
    195     for (family, types) in aircraftFamily2Types.iteritems():
     195    for (family, types) in aircraftFamily2Types.items():
    196196        if aircraftType in types:
    197197            return family
     
    424424def string2messageLevel(str):
    425425    """Get the message level for the given string."""
    426     for (value, s) in _messageLevelStrings.iteritems():
     426    for (value, s) in _messageLevelStrings.items():
    427427        if str==s:
    428428            return value
Note: See TracChangeset for help on using the changeset viewer.