[CalendarServer-changes] [4931] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 15 18:30:50 PST 2010


Revision: 4931
          http://trac.macosforge.org/projects/calendarserver/changeset/4931
Author:   wsanchez at apple.com
Date:     2010-01-15 18:30:49 -0800 (Fri, 15 Jan 2010)
Log Message:
-----------
twext.python.icalendar stub

Modified Paths:
--------------
    CalendarServer/trunk/txcaldav/icalendarstore.py
    CalendarServer/trunk/txcarddav/iaddressbookstore.py

Added Paths:
-----------
    CalendarServer/trunk/twext/python/icalendar.py

Added: CalendarServer/trunk/twext/python/icalendar.py
===================================================================
--- CalendarServer/trunk/twext/python/icalendar.py	                        (rev 0)
+++ CalendarServer/trunk/twext/python/icalendar.py	2010-01-16 02:30:49 UTC (rev 4931)
@@ -0,0 +1,24 @@
+##
+# Copyright (c) 2010 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+"""
+iCalendar utilities
+"""
+
+# FIXME: Move twistedcaldav.ical here, but that module needs some
+# cleanup first.  Perhaps after porting to libical?
+
+from twistedcaldav.ical import *

Modified: CalendarServer/trunk/txcaldav/icalendarstore.py
===================================================================
--- CalendarServer/trunk/txcaldav/icalendarstore.py	2010-01-16 02:30:15 UTC (rev 4930)
+++ CalendarServer/trunk/txcaldav/icalendarstore.py	2010-01-16 02:30:49 UTC (rev 4931)
@@ -24,11 +24,10 @@
     "ICalendarObject",
 ]
 
-from datetime import datetime, date, tzinfo
-
 from zope.interface import Interface #, Attribute
 
-from twext.ical import Component
+from datetime import datetime, date, tzinfo
+from twext.icalendar import Component
 from txdav.idav import IPropertyStore
 
 #

Modified: CalendarServer/trunk/txcarddav/iaddressbookstore.py
===================================================================
--- CalendarServer/trunk/txcarddav/iaddressbookstore.py	2010-01-16 02:30:15 UTC (rev 4930)
+++ CalendarServer/trunk/txcarddav/iaddressbookstore.py	2010-01-16 02:30:49 UTC (rev 4931)
@@ -23,7 +23,7 @@
 
 from zope.interface import Interface #, Attribute
 
-from twext.ical import Component
+from twext.icalendar import Component
 from txdav.idav import IPropertyStore
 
 #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100115/32af1298/attachment.html>


More information about the calendarserver-changes mailing list