Sfoglia il codice sorgente

Mark as deprecated

Unrud 4 anni fa
parent
commit
4224c60e9b
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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):