diff options
author | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-09-16 02:12:16 +0200 |
---|---|---|
committer | Jauhien Piatlicki (jauhien) <piatlicki@gmail.com> | 2013-09-16 02:12:16 +0200 |
commit | 48941f078effc854651ea5052eea7325343839b7 (patch) | |
tree | c505dd4a0ea73bbe86cd78b0b8cbda77e5064ba7 | |
parent | scripts/all_pythons.sh: show python version (diff) | |
download | g-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.py | 2 |
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): |