Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix some pyflakes complaints about unused "e"

  • Loading branch information...
commit 3fd16dfede9019783236ce1871fcf7a131fbb830 1 parent dc85ee6
Pierce Lopez authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 asyncmongo/connection.py
4 asyncmongo/connection.py
@@ -138,7 +138,7 @@ def _send_message(self, message):
138 138 self.__request_id = None
139 139 self.__pool.cache(self)
140 140
141   - except IOError, e:
  141 + except IOError:
142 142 self.__alive = False
143 143 raise
144 144 # return self.__request_id
@@ -154,7 +154,7 @@ def _parse_header(self, header):
154 154 assert operation == struct.unpack("<i", header[12:])[0]
155 155 try:
156 156 self.__stream.read(length - 16, callback=self._parse_response)
157   - except IOError, e:
  157 + except IOError:
158 158 self.__alive = False
159 159 raise
160 160

0 comments on commit 3fd16df

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