[CalendarServer-changes] [11808] CalendarServer/trunk/twext/who
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 11 17:45:10 PDT 2013
Revision: 11808
http://trac.calendarserver.org//changeset/11808
Author: wsanchez at apple.com
Date: 2013-10-11 17:45:10 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
Add/clean up NotImplementedError() messages
Modified Paths:
--------------
CalendarServer/trunk/twext/who/directory.py
CalendarServer/trunk/twext/who/index.py
Modified: CalendarServer/trunk/twext/who/directory.py
===================================================================
--- 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
===================================================================
--- 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):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20131011/9c6466a0/attachment.html>
More information about the calendarserver-changes
mailing list