Explorar el Código

Mark as deprecated

Unrud hace 4 años
padre
commit
4224c60e9b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      radicale/web/internal.py

+ 3 - 1
radicale/web/internal.py

@@ -28,7 +28,9 @@ Features:
 import pkg_resources
 
 from radicale import config, httputils, types, web
-from radicale.httputils import FALLBACK_MIMETYPE, MIMETYPES  # noqa:F401
+
+MIMETYPES = httputils.MIMETYPES  # deprecated
+FALLBACK_MIMETYPE = httputils.FALLBACK_MIMETYPE  # deprecated
 
 
 class Web(web.BaseWeb):