flake8
failed.
JSHint
passed.
Review Request #12070 — Created Feb. 21, 2022 and submitted
Information | |
---|---|
chipx86 | |
Django Evolution | |
release-2.x | |
Reviewers | |
django-evolution | |
Django Evolution 2.1.3 introduced a patch for modern versions of
mysqlclient
on Django < 2.0. The patch tried to handle the situation
wheremysqlclient
wasn't installed, but it didn't catch the right
exception.This change adds a more broad exception handler, and also exception
handlers in the patch loader, one wrappingneeds_patch()
and one
wrappingapply_patch()
. This will help us avoid other unforeseen
issues in the future.
Ran all unit tests without
mysqlclient
installed.
needs_patch()
.Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+86 -8) |