Title: [commits] (jeffrey) [11151] When fixing things on the alpha3 branch, it's best to actually commit the fix there...
Revision
11151
Author
jeffrey
Date
2006-07-13 15:02:21 -0700 (Thu, 13 Jul 2006)

Log Message

When fixing things on the alpha3 branch, it's best to actually commit the fix there...

- Fix bug 6178 for alpha3 branch, add patch to vobject to handle
date valued exdates

Modified Paths

Added Paths

Diff

Modified: branches/0.7alpha3/external/vobject/Makefile (11150 => 11151)

--- branches/0.7alpha3/external/vobject/Makefile	2006-07-13 21:52:09 UTC (rev 11150)
+++ branches/0.7alpha3/external/vobject/Makefile	2006-07-13 22:02:21 UTC (rev 11151)
@@ -1,7 +1,7 @@
 
 VERSION=0.3.0
 SVN_REVISION=139
-RELVER=$(VERSION)-r$(SVN_REVISION)-$(BRANCH_REV_PREFIX)4
+RELVER=$(VERSION)-r$(SVN_REVISION)-$(BRANCH_REV_PREFIX)5
 VOBJECT=$(BUILD_ROOT)/vobject
 BUILD=build_$(SNAP)
 SRC=""

Added: branches/0.7alpha3/external/vobject/patches-0.3.0 (11150 => 11151)

--- branches/0.7alpha3/external/vobject/patches-0.3.0	2006-07-13 21:52:09 UTC (rev 11150)
+++ branches/0.7alpha3/external/vobject/patches-0.3.0	2006-07-13 22:02:21 UTC (rev 11151)
@@ -0,0 +1,14 @@
+Index: vobject-0.3.0-r139-5/src/vobject/icalendar.py
+===================================================================
+--- vobject-0.3.0-r139-5/src/vobject/icalendar.py    (revision 139)
++++ vobject-0.3.0-r139-5/src/vobject/icalendar.py    (working copy)
+@@ -642,8 +642,7 @@
+         appropriate strings.
+
+         """
+-        # Fixme: obj.value should be a list, so this test should never succeed
+-        if type(obj.value) == datetime.date:
++        if obj.value and type(obj.value[0]) == datetime.date:
+             obj.isNative = False
+             obj.value_param = 'DATE'
+             obj.value = ','.join([dateToString(val) for val in obj.value])




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to