[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Func-list] certmaster/SSLConnection.py



 certmaster/SSLConnection.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c11b1babbe56144f39212e4b453c4519e0521ca6
Author: Felix Kaechele <felix at fetzig org>
Date:   Fri Feb 25 15:30:09 2011 -0500

    fix certmaster/func connections out for fedora 14/python 2.7

diff --git a/certmaster/SSLConnection.py b/certmaster/SSLConnection.py
index 4d4c162..3e72d5e 100644
--- a/certmaster/SSLConnection.py
+++ b/certmaster/SSLConnection.py
@@ -62,7 +62,7 @@ class SSLConnection:
         c, a = self.__dict__["conn"].accept()
         return (SSLConnection(c), a)
 
-    def makefile(self, mode, bufsize):
+    def makefile(self, mode='r', bufsize=-1):
         """
         We need to use socket._fileobject Because SSL.Connection
         doesn't have a 'dup'. Not exactly sure WHY this is, but



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]