[3.6] bpo-12382: Make OpenDatabase() raise better exception messages (GH-4528) by miss-islington · Pull Request #4538 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

…nGH-4528)

Previously, 'msilib.OpenDatabase()' function raised a
cryptical exception message when it couldn't open or
create an MSI file. For example:

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    _msi.MSIError: unknown error 6e
(cherry picked from commit 4864a61)