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

  • Committer: John Arbash Meinel
  • Date: 2006-07-02 06:23:23 UTC
  • mto: This revision was merged to the branch mainline in revision 1851.
  • Revision ID: john@arbash-meinel.com-20060702062323-b16ead8026bf3977
unicodedata.normalize requires unicode strings

Show diffs side-by-side

added added

removed removed

Lines of Context:
790
790
    can be accessed by that path.
791
791
    """
792
792
 
793
 
    return unicodedata.normalize('NFKC', path), True
 
793
    return unicodedata.normalize('NFKC', unicode(path)), True
794
794
 
795
795
 
796
796
def _inaccessible_normalized_filename(path):
797
797
    __doc__ = _accessible_normalized_filename.__doc__
798
798
 
799
 
    normalized = unicodedata.normalize('NFKC', path) 
 
799
    normalized = unicodedata.normalize('NFKC', unicode(path))
800
800
    return normalized, normalized == path
801
801
 
802
802