From c11b1babbe56144f39212e4b453c4519e0521ca6 Mon Sep 17 00:00:00 2001 From: Felix Kaechele Date: Fri, 25 Feb 2011 15:30:09 -0500 Subject: [PATCH] fix certmaster/func connections out for fedora 14/python 2.7 --- certmaster/SSLConnection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2