appendpath deprecated
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 30 22:09:06 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stephen Ward wrote:
> Hi,
>
> Perhaps I missed it amongst all the other traffic on the mailing list, but was
> there any *reason* why bzrlib.osutils.appendpath() had to be deprecated? Was
> it just because it doesn't add much beyond what pathjoin() does?
>
> Just curious...
>
> -- Steve
It does exactly what pathjoin() does, so I just deprecated it. No reason
to have 2 functions.
os.path.join('', 'anything') returns 'anything' and so does 'pathjoin'.
Whoever wrote appendpath() didn't realize this. Or maybe it changed with
python 2.4. But we require 2.4 anyway.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEpZLxJdeBCYSNAAMRAurgAJ9hnoVNtZfEXX9PktluP5KcCXxghwCfYqSN
nw1cPUl/BUHf/QBm3tHKuaE=
=kz7b
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list