sharing: code review
This commit is contained in:
@@ -112,7 +112,7 @@ class ApplicationPartGet(ApplicationBase):
|
|||||||
if not item.tag:
|
if not item.tag:
|
||||||
return (httputils.NOT_ALLOWED if limited_access else
|
return (httputils.NOT_ALLOWED if limited_access else
|
||||||
httputils.DIRECTORY_LISTING)
|
httputils.DIRECTORY_LISTING)
|
||||||
if self._sharing._enabled and share and share['ShareType'] == "bday":
|
if share and share['ShareType'] == "bday":
|
||||||
content_type = xmlutils.MIMETYPES["VCALENDAR"]
|
content_type = xmlutils.MIMETYPES["VCALENDAR"]
|
||||||
else:
|
else:
|
||||||
content_type = xmlutils.MIMETYPES[item.tag]
|
content_type = xmlutils.MIMETYPES[item.tag]
|
||||||
|
|||||||
Reference in New Issue
Block a user