[CalendarServer-changes] [11803] CalendarServer/trunk/calendarserver/push/amppush.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 10 11:51:46 PDT 2013


Revision: 11803
          http://trac.calendarserver.org//changeset/11803
Author:   sagen at apple.com
Date:     2013-10-10 11:51:46 -0700 (Thu, 10 Oct 2013)
Log Message:
-----------
Make dataChangedTimesamp param for amp NotificationForID optional for backwards compatibility

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/push/amppush.py

Modified: CalendarServer/trunk/calendarserver/push/amppush.py
===================================================================
--- CalendarServer/trunk/calendarserver/push/amppush.py	2013-10-10 02:47:15 UTC (rev 11802)
+++ CalendarServer/trunk/calendarserver/push/amppush.py	2013-10-10 18:51:46 UTC (rev 11803)
@@ -48,7 +48,8 @@
 # AMP Commands sent to client (and forwarded to Master)
 
 class NotificationForID(amp.Command):
-    arguments = [('id', amp.String()), ('dataChangedTimestamp', amp.Integer())]
+    arguments = [('id', amp.String()),
+                 ('dataChangedTimestamp', amp.Integer(optional=True))]
     response = [('status', amp.String())]
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20131010/f417420f/attachment.html>


More information about the calendarserver-changes mailing list