Rev 3042: Document the try:except:else: rather than a finally: in pack_repo.._copy_nodes_graph. in http://people.ubuntu.com/~robertc/baz2.0/reconcile
Robert Collins
robertc at robertcollins.net
Wed Nov 28 21:55:18 GMT 2007
At http://people.ubuntu.com/~robertc/baz2.0/reconcile
------------------------------------------------------------
revno: 3042
revision-id:robertc at robertcollins.net-20071128215507-a72akc0jdq71k7vg
parent: robertc at robertcollins.net-20071128215410-7k4vfjqd5akacmjj
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pack-progress
timestamp: Thu 2007-11-29 08:55:07 +1100
message:
Document the try:except:else: rather than a finally: in pack_repo.._copy_nodes_graph.
modified:
bzrlib/repofmt/pack_repo.py pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py 2007-11-28 21:54:10 +0000
+++ b/bzrlib/repofmt/pack_repo.py 2007-11-28 21:55:07 +0000
@@ -749,6 +749,7 @@
write_index, output_lines, pb):
yield result
except Exception:
+ # Python 2.4 does not permit try:finally: in a generator.
pb.finished()
raise
else:
More information about the bazaar-commits
mailing list