Skip to content

Commit

Permalink
Fix exception syntax for Python 2.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
singingwolfboy committed Mar 16, 2012
1 parent 4f10352 commit 6cb20a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests/packages/urllib3/poolmanager.py
Expand Up @@ -103,7 +103,7 @@ def urlopen(self, method, url, **kw):
try:
return conn.urlopen(method, url, **kw)

except HostChangedError as e:
except HostChangedError, e:
kw['retries'] = e.retries # Persist retries countdown
return self.urlopen(method, e.url, **kw)

Expand Down

0 comments on commit 6cb20a0

Please sign in to comment.