mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-02 16:58:30 +00:00
added missing import
This commit is contained in:
parent
1485777bc6
commit
b24eae8369
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ from radicale.app.base import Access, ApplicationBase
|
|||
from radicale.hook import HookNotificationItem, HookNotificationItemTypes
|
||||
from radicale.log import logger
|
||||
|
||||
# HACK: https://github.com/tiran/defusedxml/issues/54
|
||||
import defusedxml.ElementTree as DefusedET # isort:skip
|
||||
sys.modules["xml.etree"].ElementTree = ET # type:ignore[attr-defined]
|
||||
|
||||
|
||||
def xml_proppatch(base_prefix: str, path: str,
|
||||
xml_request: Optional[ET.Element],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue