[Pkg-bazaar-commits] ./bzr-git/unstable r34: Fix 2.5ism.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 12:28:24 UTC 2009


------------------------------------------------------------
revno: 34
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: debian
timestamp: Tue 2009-01-13 18:03:01 +0100
message:
  Fix 2.5ism.
modified:
  debian/changelog
  remote.py
    ------------------------------------------------------------
    revno: 17.1.165
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: dulwich
    timestamp: Tue 2009-01-13 17:49:19 +0100
    message:
      Remove 2.5ism.
    modified:
      remote.py
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2009-01-13 16:44:32 +0000
+++ b/debian/changelog	2009-01-13 17:03:01 +0000
@@ -1,4 +1,4 @@
-bzr-git (0.1~bzr181-1) unstable; urgency=low
+bzr-git (0.1~bzr182-1) unstable; urgency=low
 
   * New upstream snapshot.
 

=== modified file 'remote.py'
--- a/remote.py	2009-01-11 16:53:15 +0000
+++ b/remote.py	2009-01-13 16:49:19 +0000
@@ -117,14 +117,12 @@
         fd, path = tempfile.mkstemp(suffix=".pack")
         self.fetch_pack(determine_wants, graph_walker, lambda x: os.write(fd, x), progress)
         os.close(fd)
-        try:
-            basename = path[:-len(".pack")]
-            p = PackData(path)
-            p.create_index_v2(basename+".idx")
-            for o in Pack(basename).iterobjects():
-                yield o
-        finally:
-            os.remove(path)
+        basename = path[:-len(".pack")]
+        p = PackData(path)
+        p.create_index_v2(basename+".idx")
+        for o in Pack(basename).iterobjects():
+            yield o
+        os.remove(path)
 
 
 class RemoteGitBranch(GitBranch):



More information about the Pkg-bazaar-commits mailing list