]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
maybe fix python2.6 problem?
authorKevin McCarthy <me@kevinmccarthy.org>
Thu, 31 May 2012 08:52:19 +0000 (22:52 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Thu, 31 May 2012 08:52:19 +0000 (22:52 -1000)
vcr/stubs.py

index a631dde2ce9a10a603b5c44b3b022d2a794ca94f..2b67afe7fe4631408a13117979c8cde70d378eb2 100644 (file)
@@ -44,7 +44,7 @@ class VCRHTTPConnection(HTTPConnection):
         old_cassette = load_cassette(self._vcr_cassette_path)
         if old_cassette:
             return VCRHTTPResponse(old_cassette[0]['response'])
-        response = HTTPConnection.getresponse(self, buffering=buffering)
+        response = HTTPConnection.getresponse(self)
         self._cassette.responses.append({
             'status': {'code': response.status, 'message': response.reason},
             'headers': dict(response.getheaders()),