Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[py3] Fixed a regression introduced in fcc8de0.

Thanks George Marshall for the report.
  • Loading branch information...
commit d739d531a111f8780c2183605b56c4e2352ec4a5 1 parent 5c79dd5
Aymeric Augustin authored August 16, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/servers/basehttp.py
2  django/core/servers/basehttp.py
@@ -202,7 +202,7 @@ def log_message(self, format, *args):
202 202
 def run(addr, port, wsgi_handler, ipv6=False, threading=False):
203 203
     server_address = (addr, port)
204 204
     if threading:
205  
-        httpd_cls = type('WSGIServer', (socketserver.ThreadingMixIn, WSGIServer), {})
  205
+        httpd_cls = type(str('WSGIServer'), (socketserver.ThreadingMixIn, WSGIServer), {})
206 206
     else:
207 207
         httpd_cls = WSGIServer
208 208
     httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6)

0 notes on commit d739d53

Please sign in to comment.
Something went wrong with that request. Please try again.