# HG changeset patch # User Paul Boddie # Date 1366922618 -7200 # Node ID 0e4860bfd08d2fa95f9a8c08b9b6526888a31c1a # Parent 65eb8957f696ee4c0e4e5d6b9e40d44c8da396c5 Added support for semicolon-separated values, using tuples for such collections and only using lists for comma-separated value collections. diff -r 65eb8957f696 -r 0e4860bfd08d README.txt --- a/README.txt Thu Apr 25 22:14:56 2013 +0200 +++ b/README.txt Thu Apr 25 22:43:38 2013 +0200 @@ -36,4 +36,5 @@ signature. * Added support for multiple property values, producing lists for collections of such values when parsing, and accepting lists of such - values when writing. + values when writing. Tuples of values are also handled where such values + are separated by semicolons. diff -r 65eb8957f696 -r 0e4860bfd08d tests/test.ics --- a/tests/test.ics Thu Apr 25 22:14:56 2013 +0200 +++ b/tests/test.ics Thu Apr 25 22:43:38 2013 +0200 @@ -15,5 +15,6 @@ DTEND;TZID=CEST:20081018T153000 RDATE;VALUE=DATE:20081025,20081101 LOCATION:Oslo\, Norway +GEO:59.95;10.76 END:VEVENT END:VCALENDAR diff -r 65eb8957f696 -r 0e4860bfd08d vCalendar.py --- a/vCalendar.py Thu Apr 25 22:14:56 2013 +0200 +++ b/vCalendar.py Thu Apr 25 22:43:38 2013 +0200 @@ -49,7 +49,7 @@ ]) QUOTED_TYPES = set(["URI"]) -unquoted_comma_regexp = re.compile(r"(?