Quote etags.

This commit is contained in:
Guillaume Ayoub 2009-12-29 20:05:38 +01:00
parent 6545bc8273
commit 97c1675741

View File

@ -62,7 +62,7 @@ class Calendar(object):
def etag(self):
"""Return etag from calendar."""
return hash_tag(self.vcalendar())
return '"%s"' % hash_tag(self.vcalendar())
class Event(object):
"""Internal event class."""
@ -72,7 +72,7 @@ class Event(object):
def etag(self):
"""Return etag from event."""
return hash_tag(self.text)
return '"%s"' % hash_tag(self.text)
class Header(object):
"""Internal header class."""