summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2020-08-13 14:56:54 -0700
committerAdam Hupp <adam@hupp.org>2020-08-13 14:56:54 -0700
commit1b6cede2550784251296496ad65ece8266e56250 (patch)
tree143a05796dbc104f519d2a306b582945ca4e60b8 /test
parenta9ba472dc1e05385fc2cd9bb333c82caeefde36d (diff)
downloadpython-magic-1b6cede2550784251296496ad65ece8266e56250.tar.gz
Fallback to default behavior on setparam failure
Some versions of libmagic (unclear which) fail the setparam call in the Magic constructor. This this is just resolving a corner case to begin with, silently continue on if this happens.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions