Martin [gz] wrote:
> Ack, was that big a follow up needed? I only intended to suggest something like:
>
> - full_path = osutils.pathjoin(self._root, prefix, relpath)
> + full_path = osutils.pathjoin(self._root, prefix, relpath.encode(
> + sys.getfilesystemencoding() or 'ascii', 'replace').replace(
> + "?", "_"))
^- This should probably be 'osutils._fs_enc' where we already handle fs
encoding of None.
>
> The new encoding-then-decoding seems redundant, as do the changes in `_get_command`, what prompted you to add that when the last version was so simple?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin [gz] wrote: pathjoin( self._root, prefix, relpath) pathjoin( self._root, prefix, relpath.encode( emencoding( ) or 'ascii', 'replace').replace(
> Ack, was that big a follow up needed? I only intended to suggest something like:
>
> - full_path = osutils.
> + full_path = osutils.
> + sys.getfilesyst
> + "?", "_"))
^- This should probably be 'osutils._fs_enc' where we already handle fs
encoding of None.
> then-decoding seems redundant, as do the changes in `_get_command`, what prompted you to add that when the last version was so simple?
> The new encoding-
John enigmail. mozdev. org/
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAku H3lsACgkQJdeBCY SNAANLJACgvw/ A8y0EKW4chN31ew dmof2r cvcdL6sOLKEjgg2 Tq
oqoAn3NAsSjyZ7v
=eWJM
-----END PGP SIGNATURE-----