Use human tag in warning message

This commit is contained in:
Unrud 2017-12-06 21:46:21 +01:00
parent 1dcc78ea36
commit cc89fc6f79

View File

@ -1138,7 +1138,7 @@ def report(base_prefix, path, xml_request, collection):
# InfCloud asks for expand-property reports (even if we don't announce
# support for them) and stops working if an error code is returned.
logger.warning("Unsupported REPORT method %r on %r requested",
root.tag, path)
_tag_from_clark(root.tag), path)
return client.MULTI_STATUS, multistatus
prop_element = root.find(_tag("D", "prop"))
props = (