Logging
This commit is contained in:
parent
8ad91b74b6
commit
55d67e629d
@ -46,7 +46,7 @@ except ImportError:
|
||||
import BaseHTTPServer as server
|
||||
# pylint: enable=F0401
|
||||
|
||||
from radicale import acl, config, ical, xmlutils
|
||||
from radicale import acl, config, ical, xmlutils, log
|
||||
|
||||
|
||||
VERSION = "git"
|
||||
|
@ -84,7 +84,7 @@ def propfind(path, xml_request, calendar, depth, request):
|
||||
"""Read and answer PROPFIND requests.
|
||||
|
||||
Read rfc4918-9.1 for info.
|
||||
|
||||
|
||||
"""
|
||||
# Reading request
|
||||
root = ET.fromstring(xml_request)
|
||||
@ -138,7 +138,7 @@ def propfind(path, xml_request, calendar, depth, request):
|
||||
elif tag == _tag("D", "getcontenttype"):
|
||||
element.text = "text/calendar"
|
||||
elif tag == _tag("D", "getetag"):
|
||||
element.text = element.etag
|
||||
element.text = element.tag
|
||||
elif tag == _tag("D", "displayname"):
|
||||
element.text = calendar.name
|
||||
elif tag == _tag("D", "supported-report-set"):
|
||||
|
Loading…
Reference in New Issue
Block a user