mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-11 11:46:02 +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:
|
||||
for x in f(*args, **kwargs):
|
||||
yield x
|
||||
except RequestException, exceptions.Error:
|
||||
except (RequestException, exceptions.Error):
|
||||
pass
|
||||
return inner
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue