httpserver: Fix Python 2 compatibility.

This commit is contained in:
Valentin Lorentz 2015-09-24 15:38:42 +02:00
parent a99e674b88
commit b163dc7566

View File

@ -265,7 +265,7 @@ class SupyHTTPRequestHandler(BaseHTTPRequestHandler):
self.do_X('doHead') self.do_X('doHead')
def address_string(self): def address_string(self):
s = super(SupyHTTPRequestHandler, self).address_string() s = BaseHTTPRequestHandler.address_string(self)
# Strip IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1 # Strip IPv4-mapped IPv6 addresses such as ::ffff:127.0.0.1
prefix = '::ffff:' prefix = '::ffff:'