[issue18787] Misleading error from getspnam function of spwd module

Vajrasky Kok report at bugs.python.org
Tue Aug 20 12:50:11 CEST 2013


Vajrasky Kok added the comment:

Attached the patch to accomodate Serhiy Storchaka's suggestion by using KeyError exception for backward compatibility.

----------
Added file: http://bugs.python.org/file31382/fix_error_message_getspnam_v2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18787>
_______________________________________


More information about the Python-bugs-list mailing list