[CalendarServer-changes] [10677] CalendarServer/trunk/twext/who/idirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 11 11:46:36 PST 2013


Revision: 10677
          http://trac.calendarserver.org//changeset/10677
Author:   wsanchez at apple.com
Date:     2013-02-11 11:46:36 -0800 (Mon, 11 Feb 2013)
Log Message:
-----------
Add NoSuchRecordError

Modified Paths:
--------------
    CalendarServer/trunk/twext/who/idirectory.py

Modified: CalendarServer/trunk/twext/who/idirectory.py
===================================================================
--- CalendarServer/trunk/twext/who/idirectory.py	2013-02-11 19:33:01 UTC (rev 10676)
+++ CalendarServer/trunk/twext/who/idirectory.py	2013-02-11 19:46:36 UTC (rev 10677)
@@ -22,6 +22,7 @@
     "DirectoryServiceError",
     "DirectoryAvailabilityError",
     "QueryNotSupportedError",
+    "NoSuchRecordError",
     "RecordType",
     "FieldName",
     "MatchType",
@@ -58,8 +59,13 @@
     Query not supported.
     """
 
+class NoSuchRecordError(DirectoryServiceError):
+    """
+    Record does not exist.
+    """
 
 
+
 ##
 # Data Types
 ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130211/a38544fb/attachment.html>


More information about the calendarserver-changes mailing list