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/fs.py

    r909 r919  
    11
    2 import const
    3 from sound import startSound
     2from . import const
     3from .sound import startSound
    44
    55import os
    66
    7 import fsuipc
    8 import xplane
     7from . import fsuipc
     8from . import xplane
    99
    1010import threading
     
    3636        """Called when a connection has been established to the flight
    3737        simulator of the given type."""
    38         print "fs.ConnectionListener.connected, fsType:", fsType, ", descriptor:", descriptor
     38        print("fs.ConnectionListener.connected, fsType:", fsType, ", descriptor:", descriptor)
    3939
    4040    def connectionFailed(self):
    4141        """Called when the connection could not be established."""
    42         print "fs.ConnectionListener.connectionFailed"
     42        print("fs.ConnectionListener.connectionFailed")
    4343
    4444    def disconnected(self):
    4545        """Called when a connection to the flight simulator has been broken."""
    46         print "fs.ConnectionListener.disconnected"
     46        print("fs.ConnectionListener.disconnected")
    4747
    4848#-------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.