Show More
@@ -567,7 +567,10 b' def stream(repo, proto):' | |||||
567 | else: |
|
567 | else: | |
568 | for chunk in util.filechunkiter(sopener(name), limit=size): |
|
568 | for chunk in util.filechunkiter(sopener(name), limit=size): | |
569 | yield chunk |
|
569 | yield chunk | |
570 | finally: |
|
570 | # replace with "finally:" when support for python 2.4 has been dropped | |
|
571 | except Exception: | |||
|
572 | sopener.mustaudit = oldaudit | |||
|
573 | raise | |||
571 |
|
|
574 | sopener.mustaudit = oldaudit | |
572 |
|
575 | |||
573 | return streamres(streamer(repo, entries, total_bytes)) |
|
576 | return streamres(streamer(repo, entries, total_bytes)) |
General Comments 0
You need to be logged in to leave comments.
Login now