/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 breezy/osutils.py

  • Committer: Jelmer Vernooij
  • Date: 2018-08-13 01:38:21 UTC
  • mto: This revision was merged to the branch mainline in revision 7078.
  • Revision ID: jelmer@jelmer.uk-20180813013821-ftxhownoxs1l55qs
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1992
1992
    """Compare path_a and path_b to generate the same order walkdirs uses."""
1993
1993
    key_a = path_prefix_key(path_a)
1994
1994
    key_b = path_prefix_key(path_b)
1995
 
    return cmp(key_a, key_b)
 
1995
    return (key_a > key_b) - (key_a < key_b)
1996
1996
 
1997
1997
 
1998
1998
_cached_user_encoding = None