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>
This commit is contained in:
Roberto Rosario
2019-01-19 00:10:40 -04:00
parent 354ea434ae
commit 2d9aca55c5

View File

@@ -0,0 +1,7 @@
from __future__ import absolute_import
class InterfaceWarning(UserWarning):
"""
Warning when using obsolete internal interfaces
"""