Files
mayan-edms/mayan/apps/common/warnings.py
Roberto Rosario 2d9aca55c5 Add a central module to define project warnings
Add the mayan.apps.common.warnings module with an
initial InterfaceWarning warning class used to mark
use of deprecated internal interfaces.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2019-01-19 00:10:40 -04:00

8 lines
146 B
Python

from __future__ import absolute_import
class InterfaceWarning(UserWarning):
"""
Warning when using obsolete internal interfaces
"""