Fix Python 3 syntax

This commit is contained in:
Markus Unterwaditzer 2014-12-30 18:28:51 +01:00
parent e5d27d771d
commit b0d969df0d

View file

@ -71,7 +71,7 @@ def _catch_generator_exceptions(f):
try:
for x in f(*args, **kwargs):
yield x
except RequestException, exceptions.Error:
except (RequestException, exceptions.Error):
pass
return inner