Mark the milla.cli module as deprecated
parent
708e59125e
commit
243df2be47
|
@ -13,7 +13,9 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
'''Module milla.cli
|
'''Module milla.cli
|
||||||
|
|
||||||
Please give me a docstring!
|
.. deprecated:: 0.2
|
||||||
|
|
||||||
|
This module is unmaintained and will be removed soon. Please do not use it.
|
||||||
|
|
||||||
:Created: May 30, 2011
|
:Created: May 30, 2011
|
||||||
:Author: dustin
|
:Author: dustin
|
||||||
|
@ -24,6 +26,11 @@ import argparse
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|
||||||
|
warnings.warn('The milla.cli module is unmaintained and will be removed soon',
|
||||||
|
DeprecationWarning, stacklevel=2)
|
||||||
|
|
||||||
|
|
||||||
class CommandWarning(UserWarning):
|
class CommandWarning(UserWarning):
|
||||||
'''A warning raised when a command cannot be loaded or used'''
|
'''A warning raised when a command cannot be loaded or used'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue