/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bisect_multi.py

  • Committer: Marius Kruger
  • Date: 2010-07-10 21:28:56 UTC
  • mto: (5384.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5385.
  • Revision ID: marius.kruger@enerweb.co.za-20100710212856-uq4ji3go0u5se7hx
* Update documentation
* add NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Bisection lookup multiple keys."""
18
18
 
19
 
from __future__ import absolute_import
20
 
 
21
19
__all__ = [
22
20
    'bisect_multi_bytes',
23
21
    ]
58
56
                search_keys.append((location - delta, key))
59
57
            elif status == 1:
60
58
                search_keys.append((location + delta, key))
61
 
            elif status is False:
 
59
            elif status == False:
62
60
                # not present, stop searching
63
61
                continue
64
62
            else: