Skip to content

Commit 6483037

Browse files
authored
Merge pull request eonpatapon#134 from ammgws/patch-1
Drop python2 support
2 parents 9486714 + 06cd71b commit 6483037

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/mpDris2.in.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
# Some bits taken from quodlibet mpris plugin by <[email protected]>
2121

2222

23-
from __future__ import print_function
24-
23+
from configparser import ConfigParser
2524
import os
2625
import sys
2726
import re
@@ -46,11 +45,6 @@
4645
except ImportError:
4746
mutagen = None
4847

49-
try:
50-
from configparser import ConfigParser
51-
except ImportError:
52-
from ConfigParser import SafeConfigParser as ConfigParser
53-
5448
try:
5549
import gi
5650
gi.require_version('Notify', '0.7')

0 commit comments

Comments
 (0)