Ignore:
Timestamp:
03/24/19 08:15:59 (5 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/rpccommon.py

    r742 r919  
    33#------------------------------------------------------------------------------
    44
    5 import const
     5from . import const
    66
    77#------------------------------------------------------------------------------
     
    5151        """Check if the gate of the given plane conflicts with another plane's
    5252        position."""
    53         for p in self._planes.itervalues():
     53        for p in self._planes.values():
    5454            if p.tailNumber!=plane.tailNumber and \
    5555               p.status==const.PLANE_HOME and \
     
    6262        """Get a set containing the numbers of the gates occupied by planes."""
    6363        gateNumbers = set()
    64         for p in self._planes.itervalues():
     64        for p in self._planes.values():
    6565            if p.status==const.PLANE_HOME and p.gateNumber:
    6666                gateNumbers.add(p.gateNumber)
     
    8080    def __iter__(self):
    8181        """Get an iterator over the planes."""
    82         for plane in self._planes.itervalues():
     82        for plane in self._planes.values():
    8383            yield plane
    8484
Note: See TracChangeset for help on using the changeset viewer.