[CalendarServer-changes] [9096] CalendarServer/branches/users/glyph/ipv6-client/calendarserver/tools /notifications.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 13 11:47:27 PDT 2012
Revision: 9096
http://trac.macosforge.org/projects/calendarserver/changeset/9096
Author: glyph at apple.com
Date: 2012-04-13 11:47:27 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
connectSSL -> GAIEndpoint in calendarserver.tools.notifications
Modified Paths:
--------------
CalendarServer/branches/users/glyph/ipv6-client/calendarserver/tools/notifications.py
Modified: CalendarServer/branches/users/glyph/ipv6-client/calendarserver/tools/notifications.py
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/calendarserver/tools/notifications.py 2012-04-13 18:47:22 UTC (rev 9095)
+++ CalendarServer/branches/users/glyph/ipv6-client/calendarserver/tools/notifications.py 2012-04-13 18:47:27 UTC (rev 9096)
@@ -19,7 +19,7 @@
from getopt import getopt, GetoptError
from getpass import getpass
from twisted.application.service import Service
-from twisted.internet import reactor, ssl
+from twisted.internet import reactor
from twisted.internet.defer import inlineCallbacks, returnValue
from twisted.web import client
from twisted.words.protocols.jabber import xmlstream
@@ -614,8 +614,9 @@
caldavFactory.noisy = False
caldavFactory.protocol = PropfindRequestor
if self.useSSL:
- reactor.connectSSL(self.host, self.port, caldavFactory,
- ssl.ClientContextFactory())
+ connect(GAIEndpoint(reactor, self.host, self.port,
+ self.ClientContextFactory()),
+ caldavFactory)
else:
connect(GAIEndpoint(reactor, self.host, self.port), caldavFactory)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/9c3dc44a/attachment.html>
More information about the calendarserver-changes
mailing list