File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ * 2.8.0 (in development)
2
+ * redis-py should play better with gevent when a gevent Timeout is raised.
3
+ Thanks leifkb.
1
4
* 2.7.6
2
5
* Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
3
6
* Fixed a bug introduced in 2.7.3 that caused issues with script objects
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ def send_packed_command(self, command):
295
295
_errno , errmsg = e .args
296
296
raise ConnectionError ("Error %s while writing to socket. %s." %
297
297
(_errno , errmsg ))
298
- except Exception :
298
+ except :
299
299
self .disconnect ()
300
300
raise
301
301
@@ -307,7 +307,7 @@ def read_response(self):
307
307
"Read the response from a previously sent command"
308
308
try :
309
309
response = self ._parser .read_response ()
310
- except Exception :
310
+ except :
311
311
self .disconnect ()
312
312
raise
313
313
if isinstance (response , ResponseError ):
You can’t perform that action at this time.
0 commit comments