Skip to content
Browse files

Syntax sugar

  • Loading branch information...
1 parent eb80da9 commit 09b8c495110648217dce31b82044da47ae4b0592 @mrjoes committed Dec 26, 2012
Showing with 7 additions and 1 deletion.
  1. +6 −0 debian/changelog
  2. +1 −1 toredis/client.py
View
6 debian/changelog
@@ -1,3 +1,9 @@
+python-toredis (0.0.6) unstable; urgency=low
+
+ * New build.
+
+ -- Serge S. Koval <serge.koval+github@gmail.com> Wed, 26 Dec 2012 14:11:55 +0200
+
python-toredis (0.0.5) unstable; urgency=low
* New build.
View
2 toredis/client.py
@@ -202,7 +202,7 @@ def _on_close(self, data=None):
except:
logger.exception('Exception in callback')
- if self._sub_callback:
+ if self._sub_callback is not None:
try:
self._sub_callback(None)
except:

0 comments on commit 09b8c49

Please sign in to comment.
Something went wrong with that request. Please try again.