Revision: 15482 http://trac.calendarserver.org//changeset/15482 Author: sagen@apple.com Date: 2016-03-22 15:31:11 -0700 (Tue, 22 Mar 2016) Log Message: ----------- Don't try to retrieve APN topic for disabled protocols Modified Paths: -------------- CalendarServer/trunk/calendarserver/tap/util.py Modified: CalendarServer/trunk/calendarserver/tap/util.py =================================================================== --- CalendarServer/trunk/calendarserver/tap/util.py 2016-03-22 21:40:24 UTC (rev 15481) +++ CalendarServer/trunk/calendarserver/tap/util.py 2016-03-22 22:31:11 UTC (rev 15482) @@ -1377,6 +1377,9 @@ ): protoConfig = config.Notifications.Services.APNS[protocol] + if not protoConfig.Enabled: + continue + try: getAPNTopicFromConfig(protocol, accountName, protoConfig) except ValueError as e:
participants (1)
-
source_changes@macosforge.org