Merge branch 'master' of gitorious.org:radicale/radicale

This commit is contained in:
Guillaume Ayoub 2010-11-11 21:48:09 +01:00
commit 2add4ae801

View File

@ -214,7 +214,7 @@ class Calendar(object):
headers = headers or self.headers or ( headers = headers or self.headers or (
Header("PRODID:-//Radicale//NONSGML Radicale Server//EN"), Header("PRODID:-//Radicale//NONSGML Radicale Server//EN"),
Header("VERSION:2.0")) Header("VERSION:2.0"))
items = items or self.items items = items if items is not None else self.items
# Create folder if absent # Create folder if absent
if not os.path.exists(os.path.dirname(self.path)): if not os.path.exists(os.path.dirname(self.path)):