aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-06-05 00:44:51 +0700
committerSergey M․ <dstftw@gmail.com>2016-06-05 00:44:51 +0700
commite92b552a102f509066a605b26d6df38eb73764b1 (patch)
tree08b513d8c24a03c9310c94772d94aee6a0e2d9fb
parent1ae6c83bceb6dbc7093fe35ddafcde08dd0151a6 (diff)
[devscripts/buildserver] Use compat_input from compat
-rw-r--r--devscripts/buildserver.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/devscripts/buildserver.py b/devscripts/buildserver.py
index f7979c43e..fc99c3213 100644
--- a/devscripts/buildserver.py
+++ b/devscripts/buildserver.py
@@ -13,6 +13,7 @@ import os.path
sys.path.insert(0, os.path.dirname(os.path.dirname((os.path.abspath(__file__)))))
from youtube_dl.compat import (
+ compat_input,
compat_http_server,
compat_str,
compat_urlparse,
@@ -30,11 +31,6 @@ try:
except ImportError: # Python 2
import SocketServer as compat_socketserver
-try:
- compat_input = raw_input
-except NameError: # Python 3
- compat_input = input
-
class BuildHTTPServer(compat_socketserver.ThreadingMixIn, compat_http_server.HTTPServer):
allow_reuse_address = True