aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-16 02:12:16 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-09-16 02:12:16 +0200
commit48941f078effc854651ea5052eea7325343839b7 (patch)
treec505dd4a0ea73bbe86cd78b0b8cbda77e5064ba7
parentscripts/all_pythons.sh: show python version (diff)
downloadg-sorcery-48941f078effc854651ea5052eea7325343839b7.tar.gz
g-sorcery-48941f078effc854651ea5052eea7325343839b7.tar.bz2
g-sorcery-48941f078effc854651ea5052eea7325343839b7.zip
tests/server: make server work with python2
-rw-r--r--tests/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py
index 6cb16e6..5cb813f 100644
--- a/tests/server.py
+++ b/tests/server.py
@@ -25,7 +25,7 @@ else:
def HTTPRequestHandlerGenerator(direct):
- class HTTPRequestHandler(SimpleHTTPRequestHandler):
+ class HTTPRequestHandler(SimpleHTTPRequestHandler, object):
directory = direct
def __init__(self, request, client_address, server):