[CalendarServer-changes] [13566] CalendarServer/trunk/txdav/dps/json.py

source_changes at macosforge.org source_changes at macosforge.org
Thu May 29 15:55:49 PDT 2014


Revision: 13566
          http://trac.calendarserver.org//changeset/13566
Author:   wsanchez at apple.com
Date:     2014-05-29 15:55:49 -0700 (Thu, 29 May 2014)
Log Message:
-----------
Raise TypeError., not NotImplementedError

Modified Paths:
--------------
    CalendarServer/trunk/txdav/dps/json.py

Modified: CalendarServer/trunk/txdav/dps/json.py
===================================================================
--- CalendarServer/trunk/txdav/dps/json.py	2014-05-29 22:38:05 UTC (rev 13565)
+++ CalendarServer/trunk/txdav/dps/json.py	2014-05-29 22:55:49 UTC (rev 13566)
@@ -63,7 +63,7 @@
     if isinstance(expression, MatchExpression):
         return matchExpressionAsJSON(expression)
 
-    raise NotImplementedError(
+    raise TypeError(
         "Unknown expression type: {!r}".format(expression)
     )
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140529/c7338c91/attachment.html>


More information about the calendarserver-changes mailing list