Permalink
Browse files

fix some pyflakes complaints about unused "e"

  • Loading branch information...
1 parent dc85ee6 commit 3fd16dfede9019783236ce1871fcf7a131fbb830 @ploxiln ploxiln committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 asyncmongo/connection.py
View
@@ -138,7 +138,7 @@ def _send_message(self, message):
self.__request_id = None
self.__pool.cache(self)
- except IOError, e:
+ except IOError:
self.__alive = False
raise
# return self.__request_id
@@ -154,7 +154,7 @@ def _parse_header(self, header):
assert operation == struct.unpack("<i", header[12:])[0]
try:
self.__stream.read(length - 16, callback=self._parse_response)
- except IOError, e:
+ except IOError:
self.__alive = False
raise

0 comments on commit 3fd16df

Please sign in to comment.