Revision
11808
Author
wsanchez@apple.com
Date
2013-10-11 17:45:10 -0700 (Fri, 11 Oct 2013)

Log Message

Add/clean up NotImplementedError() messages

Modified Paths

Diff

Modified: CalendarServer/trunk/twext/who/directory.py (11807 => 11808)


--- CalendarServer/trunk/twext/who/directory.py	2013-10-11 16:34:46 UTC (rev 11807)
+++ CalendarServer/trunk/twext/who/directory.py	2013-10-12 00:45:10 UTC (rev 11808)
@@ -280,9 +280,9 @@
 
     def members(self):
         if self.recordType == RecordType.group:
-            raise NotImplementedError()
+            raise NotImplementedError("Subclasses must implement members()")
         return succeed(())
 
 
     def groups(self):
-        raise NotImplementedError()
+        raise NotImplementedError("Subclasses must implement groups()")

Modified: CalendarServer/trunk/twext/who/index.py (11807 => 11808)


--- CalendarServer/trunk/twext/who/index.py	2013-10-11 16:34:46 UTC (rev 11807)
+++ CalendarServer/trunk/twext/who/index.py	2013-10-12 00:45:10 UTC (rev 11808)
@@ -94,7 +94,7 @@
         """
         Load records.
         """
-        raise NotImplementedError("Subclasses should implement loadRecords().")
+        raise NotImplementedError("Subclasses must implement loadRecords().")
 
 
     def flush(self):