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

    r738 r919  
    11
    2 from common import *
     2from .common import *
    33
    44from mlx.i18n import xstr
     
    66import mlx.config as config
    77
    8 import urlparse
     8import urllib.parse
    99
    1010#------------------------------------------------------------------------------
     
    6363
    6464        self._hotkeyModel = gtk.ListStore(str)
    65         for keyCode in range(ord("0"), ord("9")+1) + range(ord("A"), ord("Z")+1):
     65        for keyCode in list(range(ord("0"), ord("9")+1)) + list(range(ord("A"), ord("Z")+1)):
    6666            self._hotkeyModel.append([chr(keyCode)])
    6767
     
    829829        sensitive = False
    830830        try:
    831             result = urlparse.urlparse(self._updateURL.get_text())
     831            result = urllib.parse.urlparse(self._updateURL.get_text())
    832832            sensitive = result.scheme!="" and (result.netloc + result.path)!=""
    833833        except:
Note: See TracChangeset for help on using the changeset viewer.