summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf2/python
diff options
context:
space:
mode:
authorKen Giusti <kgiusti@apache.org>2013-11-26 18:46:35 +0000
committerKen Giusti <kgiusti@apache.org>2013-11-26 18:46:35 +0000
commit9c1389e6fbdf56a87eff31e8f85238be821aece5 (patch)
treea5c99d8a6627464afc67984dd5226560565a02cd /cpp/bindings/qmf2/python
parentbdbd978b38cec8f5d336d24d6370bec40704d53f (diff)
downloadqpid-python-9c1389e6fbdf56a87eff31e8f85238be821aece5.tar.gz
QPID-5369: add deprecation warnings to the QMF2 wrapped modules
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1545776 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2/python')
-rw-r--r--cpp/bindings/qmf2/python/qmf2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/bindings/qmf2/python/qmf2.py b/cpp/bindings/qmf2/python/qmf2.py
index 1d35b93601..601e68f7b6 100644
--- a/cpp/bindings/qmf2/python/qmf2.py
+++ b/cpp/bindings/qmf2/python/qmf2.py
@@ -17,6 +17,10 @@
# under the License.
#
+import warnings
+warnings.warn("The qmf2 module is deprecated. It will be removed in the future.",
+ Warning, stacklevel=2)
+
import cqmf2
import qpid_messaging
from threading import Thread