mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Fix Python 3 syntax
This commit is contained in:
parent
e5d27d771d
commit
b0d969df0d
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ def _catch_generator_exceptions(f):
|
||||||
try:
|
try:
|
||||||
for x in f(*args, **kwargs):
|
for x in f(*args, **kwargs):
|
||||||
yield x
|
yield x
|
||||||
except RequestException, exceptions.Error:
|
except (RequestException, exceptions.Error):
|
||||||
pass
|
pass
|
||||||
return inner
|
return inner
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue