mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 03:24:20 +00:00
🧹 Deprecate the engi.command module
This commit is contained in:
parent
105f144e84
commit
a769bae120
1 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue