summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2/python
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/bindings/qmf2/python')
-rw-r--r--qpid/cpp/bindings/qmf2/python/qmf2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/qmf2.py b/qpid/cpp/bindings/qmf2/python/qmf2.py
index 1d35b93601..601e68f7b6 100644
--- a/qpid/cpp/bindings/qmf2/python/qmf2.py
+++ b/qpid/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