From: Felix Kaechele Date: Fri, 25 Feb 2011 20:30:09 +0000 (-0500) Subject: fix certmaster/func connections out for fedora 14/python 2.7 X-Git-Tag: v0.28~2 X-Git-Url: https://pwan.org/git/?a=commitdiff_plain;h=c11b1babbe56144f39212e4b453c4519e0521ca6;p=certmaster.git 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