From 243df2be477ad9d2588bc37718c0f363e7ecb37b Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 20 Jan 2013 15:14:25 -0600 Subject: [PATCH] Mark the milla.cli module as deprecated --- src/milla/cli.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/milla/cli.py b/src/milla/cli.py index cef6f75..9712c91 100644 --- a/src/milla/cli.py +++ b/src/milla/cli.py @@ -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'''