Explorar el Código

Don't explicitely inherit from object

Guillaume Ayoub hace 9 años
padre
commit
20ff5444fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -50,7 +50,7 @@ NOT_ALLOWED = (client.FORBIDDEN, {}, None)
 WELL_KNOWN_RE = re.compile(r"/\.well-known/(carddav|caldav)/?$")
 
 
-class HTTPServer(wsgiref.simple_server.WSGIServer, object):
+class HTTPServer(wsgiref.simple_server.WSGIServer):
     """HTTP server."""
     def __init__(self, address, handler, bind_and_activate=True):
         """Create server."""