Skip to content
Snippets Groups Projects
Commit 27ab4b8d authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

bundle2: comment to clarify why the handler call is where it is

The reason why it is here is not obvious. I'm the one who wrote it there in the
first place and almost moved it 2 weeks later.
parent 0f7e01e0
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,11 @@
# todo:
# - consume the part once we use streaming
continue
# handler is called outside the above try block so that we don't
# risk catching KeyErrors from anything other than the
# parthandlermapping lookup (any KeyError raised by handler()
# itself represents a defect of a different variety).
handler(op, part)
except Exception:
for part in iterparts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment