~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Kuno Meyer
  • Date: 2007-07-22 21:58:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2655.
  • Revision ID: kuno.meyer@gmx.ch-20070722215816-c6lrm9ayg2emrtb0
Fix for non-ASCII filenames

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
            expanded_file_list.append(possible_glob)
265
265
        else:
266
266
            expanded_file_list += glob_files
267
 
    return [elem.replace('\\', '/') for elem in expanded_file_list] 
268
 
 
269
 
 
 
267
    expanded_file_list = [_ensure_unicode(elem) for elem in expanded_file_list]
 
268
    expanded_file_list = [elem.replace(u'\\', u'/') for elem in expanded_file_list] 
 
269
    return expanded_file_list