1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

🧹 Deprecate the engi.command module

This commit is contained in:
Steffo 2021-04-17 01:27:56 +02:00
parent 105f144e84
commit a769bae120
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -8,6 +8,7 @@ import royalnet.royaltyping as t
import logging import logging
import re import re
import warnings
from . import conversation as c from . import conversation as c
from . import sentry as s from . import sentry as s
@ -18,6 +19,10 @@ from . import exc
log = logging.getLogger(__name__) log = logging.getLogger(__name__)
warnings.warn("Commands are deprecated, please use the PDAs and Conversations instead!",
DeprecationWarning, stacklevel=2)
class CommandException(exc.EngineerException): class CommandException(exc.EngineerException):
""" """
The base :class:`Exception` of the :mod:`royalnet.engineer.command`\\ module. The base :class:`Exception` of the :mod:`royalnet.engineer.command`\\ module.