]> granicus.if.org Git - python/commitdiff
Merged revisions 65829 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 18 Aug 2008 21:11:09 +0000 (21:11 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 18 Aug 2008 21:11:09 +0000 (21:11 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65829 | benjamin.peterson | 2008-08-18 13:39:57 -0500 (Mon, 18 Aug 2008) | 1 line

  fix old API names in test_ssl
........

Lib/test/test_ssl.py

index a40a35d6f62fa20706823f162fffb022b6a72805..1ad6f0297fdfa295e1fe4c3b3ba9683bc43e5ad2 100644 (file)
@@ -201,7 +201,7 @@ else:
                 self.sock.setblocking(1)
                 self.sslconn = None
                 threading.Thread.__init__(self)
-                self.set_daemon(True)
+                self.daemon = True
 
             def wrap_conn (self):
                 try:
@@ -326,7 +326,7 @@ else:
             self.flag = None
             self.active = False
             threading.Thread.__init__(self)
-            self.set_daemon(False)
+            self.daemon = True
 
         def start (self, flag=None):
             self.flag = flag
@@ -482,7 +482,7 @@ else:
             self.server = self.HTTPSServer(
                 (HOST, self.port), self.RootedHTTPRequestHandler, certfile)
             threading.Thread.__init__(self)
-            self.set_daemon(True)
+            self.daemon = True
 
         def __str__(self):
             return "<%s %s>" % (self.__class__.__name__, self.server)
@@ -568,7 +568,7 @@ else:
             self.port = support.find_unused_port()
             self.server = self.EchoServer(self.port, certfile)
             threading.Thread.__init__(self)
-            self.set_daemon(True)
+            self.daemon = True
 
         def __str__(self):
             return "<%s %s>" % (self.__class__.__name__, self.server)