diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2017-11-24 09:53:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 09:53:58 (GMT) |
commit | 4864a619dc1cc9092780ccf5a6327e8abf66133d (patch) | |
tree | 379ff96504c78c9bd6d05d6c768c3e6cf16ee3a1 /Misc | |
parent | cdfe910e746e1d0fc43429b8cc3384a65a19b358 (diff) | |
download | cpython-4864a619dc1cc9092780ccf5a6327e8abf66133d.zip cpython-4864a619dc1cc9092780ccf5a6327e8abf66133d.tar.gz cpython-4864a619dc1cc9092780ccf5a6327e8abf66133d.tar.bz2 |
bpo-12382: Make OpenDatabase() raise better exception messages (GH-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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-11-23-21-47-36.bpo-12382.xWT9k0.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-11-23-21-47-36.bpo-12382.xWT9k0.rst b/Misc/NEWS.d/next/Library/2017-11-23-21-47-36.bpo-12382.xWT9k0.rst new file mode 100644 index 0000000..d9b5425 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-11-23-21-47-36.bpo-12382.xWT9k0.rst @@ -0,0 +1,2 @@ +:func:`msilib.OpenDatabase` now raises a better exception message when it +couldn't open or create an MSI file. Initial patch by William Tisäter. |