Mark the milla.cli module as deprecated
parent
708e59125e
commit
243df2be47
|
@ -13,7 +13,9 @@
|
|||
# limitations under the License.
|
||||
'''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
|
||||
:Author: dustin
|
||||
|
@ -24,6 +26,11 @@ import argparse
|
|||
import pkg_resources
|
||||
import warnings
|
||||
|
||||
|
||||
warnings.warn('The milla.cli module is unmaintained and will be removed soon',
|
||||
DeprecationWarning, stacklevel=2)
|
||||
|
||||
|
||||
class CommandWarning(UserWarning):
|
||||
'''A warning raised when a command cannot be loaded or used'''
|
||||
|
||||
|
|
Loading…
Reference in New Issue