Преглед изворни кода

Don't explicitely inherit from object

Guillaume Ayoub пре 9 година
родитељ
комит
20ff5444fb
1 измењених фајлова са 1 додато и 1 уклоњено
  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."""