/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-10-23 22:43:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2094.
  • Revision ID: john@arbash-meinel.com-20061023224331-aa559d3bc42024b5
(Bart Teeuwisse) if sys.getfilesystemencoding() is None, use 'utf-8'

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
# choke on a Unicode string containing a relative path if
229
229
# os.getcwd() returns a non-sys.getdefaultencoding()-encoded
230
230
# string.
231
 
_fs_enc = sys.getfilesystemencoding()
 
231
_fs_enc = sys.getfilesystemencoding() or 'utf-8'
232
232
def _posix_abspath(path):
233
233
    # jam 20060426 rather than encoding to fsencoding
234
234
    # copy posixpath.abspath, but use os.getcwdu instead