summaryrefslogtreecommitdiffstats
path: root/wineconfig/wineread.py
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-19 18:01:26 +0100
committerMichele Calgaro <[email protected]>2023-01-20 13:05:37 +0900
commit94f5a3f12e1c61aa2f3cde2d7b260c08489336ac (patch)
tree9062a30a1d81a1a97e9397548e4ec48ae63c18a4 /wineconfig/wineread.py
parentb9c0b6996a6da72f93baf50121a1be4a6fa48d2e (diff)
downloadtde-guidance-94f5a3f12e1c61aa2f3cde2d7b260c08489336ac.tar.gz
tde-guidance-94f5a3f12e1c61aa2f3cde2d7b260c08489336ac.zip
Drop python2 support.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'wineconfig/wineread.py')
-rw-r--r--wineconfig/wineread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wineconfig/wineread.py b/wineconfig/wineread.py
index c1fa3c5..d334d7c 100644
--- a/wineconfig/wineread.py
+++ b/wineconfig/wineread.py
@@ -102,7 +102,7 @@ def LoadDrives():
letter = drive[1].lower()
if letter in driveletters:
drive[2] = os.readlink(winepath + "/dosdevices/" + letter)
- if drivetypes.has_key(drive[1]):
+ if drive[1] in drivetypes:
drive[3] = drivetypes[drive[1]]
return drives