[CalendarServer-changes] [15560] CalendarServer/trunk/calendarserver/tap/util.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Apr 28 08:01:13 PDT 2016
Revision: 15560
http://trac.calendarserver.org//changeset/15560
Author: cdaboo at apple.com
Date: 2016-04-28 08:01:12 -0700 (Thu, 28 Apr 2016)
Log Message:
-----------
Whitespace.
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tap/util.py
Modified: CalendarServer/trunk/calendarserver/tap/util.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/util.py 2016-04-27 21:50:27 UTC (rev 15559)
+++ CalendarServer/trunk/calendarserver/tap/util.py 2016-04-28 15:01:12 UTC (rev 15560)
@@ -1499,6 +1499,7 @@
return None
+
#
# Server Alert Posting
#
@@ -1586,7 +1587,6 @@
self.sender.sendAlert(alertType, args)
-
@classmethod
def secondsSinceLastPost(cls, alertType, timestampsDirectory=None, now=None):
if timestampsDirectory is None:
@@ -1608,7 +1608,6 @@
return now - timestamp
-
@classmethod
def recordTimeStamp(cls, alertType, timestampsDirectory=None, now=None):
if timestampsDirectory is None:
@@ -1622,12 +1621,12 @@
-
class AMPAlertSendingFactory(Factory):
def __init__(self, sender):
self.sender = sender
+
def buildProtocol(self, addr):
protocol = amp.AMP()
self.sender.protocol = protocol
@@ -1685,7 +1684,6 @@
-
class AMPAlertProtocol(amp.AMP):
"""
Defines the AMP protocol for sending alerts from worker to master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160428/d6fc715f/attachment.html>
More information about the calendarserver-changes
mailing list