diff options
author | Mike Crute <mike@crute.us> | 2019-04-02 02:09:49 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2019-04-02 02:09:49 +0000 |
commit | b9fe16fc341d516b52d282f67be6b2ae791aa84f (patch) | |
tree | 333bccd7b7e61eda3d45ea057f49761ceb01e938 /pydora | |
parent | 7b7c0071d2bab85fbf104d66b603782999b904a5 (diff) | |
download | pydora-b9fe16fc341d516b52d282f67be6b2ae791aa84f.tar.bz2 pydora-b9fe16fc341d516b52d282f67be6b2ae791aa84f.tar.xz pydora-b9fe16fc341d516b52d282f67be6b2ae791aa84f.zip |
Remove python 2 compatability
Diffstat (limited to 'pydora')
-rw-r--r-- | pydora/audio_backend.py | 2 | ||||
-rw-r--r-- | pydora/configure.py | 2 | ||||
-rw-r--r-- | pydora/utils.py | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/pydora/audio_backend.py b/pydora/audio_backend.py index 1adf0a3..949301e 100644 --- a/pydora/audio_backend.py +++ b/pydora/audio_backend.py | |||
@@ -4,8 +4,8 @@ import fcntl | |||
4 | import select | 4 | import select |
5 | import socket | 5 | import socket |
6 | import logging | 6 | import logging |
7 | from shutil import which | ||
7 | 8 | ||
8 | from pandora.py2compat import which | ||
9 | from .utils import iterate_forever, SilentPopen | 9 | from .utils import iterate_forever, SilentPopen |
10 | 10 | ||
11 | 11 | ||
diff --git a/pydora/configure.py b/pydora/configure.py index ee56197..7c051df 100644 --- a/pydora/configure.py +++ b/pydora/configure.py | |||
@@ -2,9 +2,9 @@ import os | |||
2 | import re | 2 | import re |
3 | import sys | 3 | import sys |
4 | import requests | 4 | import requests |
5 | from configparser import ConfigParser | ||
5 | 6 | ||
6 | from pandora.client import APIClient | 7 | from pandora.client import APIClient |
7 | from pandora.py2compat import ConfigParser | ||
8 | from pandora.clientbuilder import PydoraConfigFileBuilder | 8 | from pandora.clientbuilder import PydoraConfigFileBuilder |
9 | 9 | ||
10 | from .utils import Screen, Colors | 10 | from .utils import Screen, Colors |
diff --git a/pydora/utils.py b/pydora/utils.py index 6c608a7..af353b3 100644 --- a/pydora/utils.py +++ b/pydora/utils.py | |||
@@ -4,7 +4,6 @@ import os | |||
4 | import sys | 4 | import sys |
5 | import getpass | 5 | import getpass |
6 | import subprocess | 6 | import subprocess |
7 | from pandora.py2compat import input | ||
8 | 7 | ||
9 | 8 | ||
10 | class TerminalPlatformUnsupported(Exception): | 9 | class TerminalPlatformUnsupported(Exception): |