2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 20:46:47 +00:00

do not cover dev error catcher

This commit is contained in:
Matthias 2022-05-06 01:12:11 +02:00
parent a77382d0b5
commit 1a70829f5c
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -525,7 +525,7 @@ class PluginsRegistry:
# remove model from admin site # remove model from admin site
try: try:
admin.site.unregister(model) admin.site.unregister(model)
except: except: # pragma: no cover
pass pass
models += [model._meta.model_name] models += [model._meta.model_name]
except LookupError: # pragma: no cover except LookupError: # pragma: no cover