[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

Martin v. Löwis report at bugs.python.org
Sun Jun 26 21:49:53 CEST 2011


Martin v. Löwis <martin at v.loewis.de> added the comment:

I'd add them to msierror, with no inclusion of the file name.

If you want the file name in the exception, you should uniformly apply this to all errors in OpenDatabase, and then subclass MSIError to, say, MSIOpenError which includes a .filename attribute.

----------

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


More information about the Python-bugs-list mailing list