Rev 2924: Review feedback. in http://people.ubuntu.com/~robertc/baz2.0/dirstate.cache

Robert Collins robertc at robertcollins.net
Mon Oct 22 20:59:48 BST 2007


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

------------------------------------------------------------
revno: 2924
revision-id:robertc at robertcollins.net-20071022195941-06a7tdtkd8muueg9
parent: robertc at robertcollins.net-20071022193257-4sa1111h0d0b01zg
committer: Robert Collins <robertc at robertcollins.net>
branch nick: dirstate.cache
timestamp: Tue 2007-10-23 05:59:41 +1000
message:
  Review feedback.
modified:
  bzrlib/dirstate.py             dirstate.py-20060728012006-d6mvoihjb3je9peu-1
=== modified file 'bzrlib/dirstate.py'
--- a/bzrlib/dirstate.py	2007-10-22 19:32:57 +0000
+++ b/bzrlib/dirstate.py	2007-10-22 19:59:41 +0000
@@ -1079,7 +1079,7 @@
                 if ((entry_index > 0 and block[entry_index - 1][0] < key) and
                     key <= block[entry_index][0]):
                     self._last_entry_index = entry_index
-                    present = block[entry_index][0] == key
+                    present = (block[entry_index][0] == key)
                     return entry_index, present
         except IndexError:
             pass



More information about the bazaar-commits mailing list