Code Repositories xandikos / d58e0bd
Fix use of return with value in generator. Jelmer Vernooń≥ 3 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7373 try:
7474 diff_iter = resource.iter_differences_since(old_token, new_token)
7575 except NotImplementedError:
76 return Status(
76 yield webdav.Status(
7777 href, '403 Forbidden',
7878 error=ET.Element('{DAV:}sync-traversal-supported'))
79 return
7980
8081 for (name, old_resource, new_resource) in diff_iter:
8182 propstat = []