Ignore:
Timestamp:
07/06/19 14:15:10 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Removed the xxx_todo stuff generated by 2to3 (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r973 r1004  
    11431143            self._handler.disconnect()
    11441144
    1145     def _handleHotkeysRegistered(self, success, xxx_todo_changeme2):
     1145    def _handleHotkeysRegistered(self, success, hotkeySet):
    11461146        """Handle the result of the hotkeys having been written."""
    1147         (id, generation) = xxx_todo_changeme2
     1147        (id, generation) = hotkeySet
    11481148        with self._hotkeyLock:
    11491149            if success and id==self._hotkeySetID and \
     
    11521152                  self._handler.requestHotkeysState(0.5,
    11531153                                                    self._handleHotkeys,
    1154                                                     (id, generation))
    1155 
    1156     def _handleHotkeys(self, data, xxx_todo_changeme3):
     1154                                                    hotkeySet)
     1155
     1156    def _handleHotkeys(self, data, hotkeySet):
    11571157        """Handle the hotkeys."""
    1158         (id, generation) = xxx_todo_changeme3
     1158        (id, generation) = hotkeySet
    11591159        with self._hotkeyLock:
    11601160            if id!=self._hotkeySetID or generation!=self._hotkeySetGeneration:
     
    17531753    """Model handler for the FlyJSim Dash 8-Q400."""
    17541754    @staticmethod
    1755     def doesHandle(aircraft, xxx_todo_changeme):
     1755    def doesHandle(aircraft, data):
    17561756        """Determine if this model handler handles the aircraft with the given
    17571757        name."""
    1758         (tailnum, author, description, notes,
    1759                               icao, liveryPath) = xxx_todo_changeme
     1758        (tailnum, author, description, notes, icao, liveryPath) = data
    17601759        return aircraft.type==const.AIRCRAFT_DH8D and \
    17611760          description.find("Dash 8 Q400")!=-1 and \
     
    19151914    """Model for Felis' Tupolev Tu-154-M aircraft."""
    19161915    @staticmethod
    1917     def doesHandle(aircraft, xxx_todo_changeme1):
     1916    def doesHandle(aircraft, data):
    19181917        """Determine if this model handler handles the aircraft with the given
    19191918        name."""
    1920         (tailnum, author, description, notes,
    1921                               icao, liveryPath) = xxx_todo_changeme1
     1919        (tailnum, author, description, notes, icao, liveryPath) = data
    19221920        return aircraft.type==const.AIRCRAFT_T154 and \
    19231921          author.find("Felis")!=-1 and \
Note: See TracChangeset for help on using the changeset viewer.