mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
raise proper error
This commit is contained in:
parent
7a102dcd8e
commit
025c6f9b82
@ -1,5 +1,6 @@
|
||||
"""Plugin mixin classes for label plugins"""
|
||||
|
||||
from plugin.helpers import MixinNotImplementedError
|
||||
|
||||
class LabelPrintingMixin:
|
||||
"""
|
||||
@ -34,4 +35,4 @@ class LabelPrintingMixin:
|
||||
"""
|
||||
|
||||
# Unimplemented (to be implemented by the particular plugin class)
|
||||
... # pragma: no cover
|
||||
MixinNotImplementedError('This Plugin must implement a `print_label` method')
|
||||
|
Loading…
Reference in New Issue
Block a user