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/gui/common.py

    r863 r919  
    3131
    3232if not pygobject:
    33     print "Using PyGTK"
     33    print("Using PyGTK")
    3434    pygobject = False
    3535    import pygtk
     
    4242        import appindicator
    4343        appIndicator = True
    44     except Exception, e:
     44    except Exception as e:
    4545        pass
    4646
     
    113113    def text2unicode(text):
    114114        """Convert the given text, returned by a Gtk widget, to Unicode."""
    115         return unicode(text)
     115        return str(text)
    116116
    117117    def text2str(text):
Note: See TracChangeset for help on using the changeset viewer.