[MERGE] Error messages for test FTP server (Python 2.5 compatibility)

Alexander Belchenko bialix at ukr.net
Wed Apr 18 14:34:11 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bentley пишет:
> Alexander Belchenko wrote:
>> Aaron Bentley ?8H5B:
>> Thanks for the hint. I was unaware about this function.
>> It works fine with Python 2.5 and returns expected english messages.
>> But I'm worry about this comment in python doc:
> 
>> strerror( code)
>> 	Return the error message corresponding to the error code in code. Availability: Unix, Windows.
> 
>> This function does not exist on Mac? In this case I'm better to keep
>> my dictionary with error messages.
> 
> It does work on Mac.  Mac OS X is unix.

OK. Updated version with os.strerror().

[µ]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJh5TzYr338mxwCURAuTZAJ9YpvELzoBHCbILFO6T5mgViXdipgCdFrOj
wQKHxJTyvNzsX8NhGSYHH4w=
=Ul/E
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ftp.error.codes.py2.5.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070418/330bb996/attachment.diff 


More information about the bazaar mailing list