Rev 3041: python2.4 'compatibility'. in http://people.ubuntu.com/~robertc/baz2.0/reconcile

Robert Collins robertc at robertcollins.net
Wed Nov 28 21:54:22 GMT 2007


At http://people.ubuntu.com/~robertc/baz2.0/reconcile

------------------------------------------------------------
revno: 3041
revision-id:robertc at robertcollins.net-20071128215410-7k4vfjqd5akacmjj
parent: robertc at robertcollins.net-20071128012616-g714qafixu08w0pc
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pack-progress
timestamp: Thu 2007-11-29 08:54:10 +1100
message:
  python2.4 'compatibility'.
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 01:26:16 +0000
+++ b/bzrlib/repofmt/pack_repo.py	2007-11-28 21:54:10 +0000
@@ -748,7 +748,10 @@
             for result in self._do_copy_nodes_graph(nodes, index_map, writer,
                 write_index, output_lines, pb):
                 yield result
-        finally:
+        except Exception:
+            pb.finished()
+            raise
+        else:
             pb.finished()
 
     def _do_copy_nodes_graph(self, nodes, index_map, writer, write_index,



More information about the bazaar-commits mailing list