Support displayname and principal-URL tags in PROPFIND requests
This commit is contained in:
@ -229,6 +229,11 @@ class Calendar(object):
|
||||
"""Etag from calendar."""
|
||||
return '"%s"' % hash(self.text)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Calendar name."""
|
||||
return self.path.split(os.path.sep)[-1]
|
||||
|
||||
@property
|
||||
def text(self):
|
||||
"""Calendar as plain text."""
|
||||
|
Reference in New Issue
Block a user