Skip to content
Snippets Groups Projects
Commit cf88abb6 authored by magicfelix's avatar magicfelix
Browse files

Reformat

parent 8f277e21
No related branches found
No related tags found
1 merge request!1147Implement read-only CalDAV and CardDAV
Pipeline #195671 passed
......@@ -3,7 +3,7 @@ from xml.etree import ElementTree
from django.urls import resolve
from ...mixins import DAVResource
from .base import ElementHandler, QueryBase
from .base import DAVMultistatus, DAVResponse, ElementHandler, QueryBase
class DAVEtag(ElementHandler):
......@@ -117,7 +117,7 @@ class DAVProp(ElementHandler):
class DAVPropname(ElementHandler):
name = "{DAV:}propname"
def process_xml(self, base: "DAVMultistatus", response: "DAVResponse" = None):
def process_xml(self, base: DAVMultistatus, response: DAVResponse = None):
base.current_xml = ElementTree.SubElement(base.current_xml, DAVProp.name)
response.resource._add_dav_propnames(base.current_xml)
......@@ -126,7 +126,7 @@ class DAVPropname(ElementHandler):
class DAVAllprop(ElementHandler):
name = "{DAV:}allprop"
def process_xml(self, base: "DAVMultistatus", response: "DAVResponse" = None):
def process_xml(self, base: DAVMultistatus, response: DAVResponse = None):
base.current_xml = ElementTree.SubElement(base.current_xml, DAVProp.name)
response.resource._add_dav_props(base.current_xml)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment