[CalendarServer-changes] [4728] CalendarServer/trunk/twistedcaldav/directory/directory.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 9 16:56:09 PST 2009
Revision: 4728
http://trac.macosforge.org/projects/calendarserver/changeset/4728
Author: wsanchez at apple.com
Date: 2009-11-09 16:56:06 -0800 (Mon, 09 Nov 2009)
Log Message:
-----------
UnknownRecordTypeError now expects a recordType argument.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/directory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/directory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/directory.py 2009-11-09 23:46:05 UTC (rev 4727)
+++ CalendarServer/trunk/twistedcaldav/directory/directory.py 2009-11-10 00:56:06 UTC (rev 4728)
@@ -399,3 +399,6 @@
"""
Unknown directory record type.
"""
+ def __init__(self, recordType):
+ DirectoryError.__init__(self, "Invalid record type: %s" % (recordType,))
+ self.recordType = recordType
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091109/4dbf3bed/attachment.html>
More information about the calendarserver-changes
mailing list