فهرست منبع

Python 2.5 forward compatibility (transport class grew an initializer, we do what it does at the class level).

Chris McDonough 18 سال پیش
والد
کامیت
259bfa7d35
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/supervisor/options.py

+ 1 - 0
src/supervisor/options.py

@@ -1261,6 +1261,7 @@ class ProcessConfig:
 class BasicAuthTransport(xmlrpclib.Transport):
     """ A transport that understands basic auth and UNIX domain socket
     URLs """
+    _use_datetime = 0 # python 2.5 fwd compatibility
     def __init__(self, username=None, password=None, serverurl=None):
         self.username = username
         self.password = password