tests/dummysmtpd.py
changeset 30559 d83ca854fa21
parent 30506 d9d8d78e6bc9
child 35776 75bae69747f0
--- a/tests/dummysmtpd.py	Wed Nov 30 19:23:04 2016 +0000
+++ b/tests/dummysmtpd.py	Sat Oct 22 14:35:10 2016 +0900
@@ -37,7 +37,7 @@
         if not pair:
             return
         conn, addr = pair
-        ui = uimod.ui()
+        ui = uimod.ui.load()
         try:
             # wrap_socket() would block, but we don't care
             conn = sslutil.wrapserversocket(conn, ui, certfile=self._certfile)