File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 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.
14* 2.7.6
25 * Added CONFIG RESETSTAT command. Thanks Yossi Gottlieb.
36 * 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):
295295 _errno , errmsg = e .args
296296 raise ConnectionError ("Error %s while writing to socket. %s." %
297297 (_errno , errmsg ))
298- except Exception :
298+ except :
299299 self .disconnect ()
300300 raise
301301
@@ -307,7 +307,7 @@ def read_response(self):
307307 "Read the response from a previously sent command"
308308 try :
309309 response = self ._parser .read_response ()
310- except Exception :
310+ except :
311311 self .disconnect ()
312312 raise
313313 if isinstance (response , ResponseError ):
You can’t perform that action at this time.
0 commit comments