Fix yield in try/finally for python2.4 compatibility.
authorDave Borowitz <dborowitz@google.com>
Mon, 22 Mar 2010 21:59:48 +0000 (14:59 -0700)
committerDave Borowitz <dborowitz@google.com>
Fri, 30 Apr 2010 16:42:54 +0000 (09:42 -0700)
commit3b3b88dfa4d0ebc554cbb1c50013c05d11b7d7d7
tree2510f9f9c6e85769088c1c87912681c26bae622b
parent40e04d2677338adb1bd15ec8619fcc3b5de3394c
Fix yield in try/finally for python2.4 compatibility.

A yield statement in a try block with a finally clause was not supported
prior to python2.5; the same effect can be achieved with either a bare
except clause or an additional level of nesting.

Change-Id: Ib13a9f492feb69184a48e1013b6461ea643f0ebd
dulwich/file.py
dulwich/web.py