Rev 6038: Fix compile errors in _groupcompress_pyx.pyx in file:///home/vila/src/bzr/experimental/2.4-python2.5/

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Aug 29 13:42:03 UTC 2011


At file:///home/vila/src/bzr/experimental/2.4-python2.5/

------------------------------------------------------------
revno: 6038
revision-id: v.ladeuil+lp at free.fr-20110829134202-limzi74uyccgd9zd
parent: jelmer at canonical.com-20110825203523-zgz8kt47rfxuhsbc
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 2.4-python2.5
timestamp: Mon 2011-08-29 15:42:02 +0200
message:
  Fix compile errors in _groupcompress_pyx.pyx
-------------- next part --------------
=== modified file 'bzrlib/_groupcompress_pyx.pyx'
--- a/bzrlib/_groupcompress_pyx.pyx	2011-05-16 14:26:54 +0000
+++ b/bzrlib/_groupcompress_pyx.pyx	2011-08-29 13:42:02 +0000
@@ -209,7 +209,7 @@
         pos = 0
         while get_hash_offset(self._index, pos, &hash_offset):
             hash_list.append(int(hash_offset))
-            pos += 1
+            pos = pos + 1
         entry_list = []
         pos = 0
         while get_entry_summary(self._index, pos, &text_offset, &hash_val):
@@ -217,7 +217,7 @@
             # almost everything is <2**31.
             val = tuple(map(int, [text_offset, hash_val]))
             entry_list.append(val)
-            pos += 1
+            pos = pos + 1
         return hash_list, entry_list
 
     def add_delta_source(self, delta, unadded_bytes):



More information about the bazaar-commits mailing list