You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2013/11/26 22:10:14 UTC

svn commit: r1545843 - in /qpid/branches/0.26/qpid/cpp/bindings/qmf2: python/qmf2.py ruby/qmf2.rb

Author: kgiusti
Date: Tue Nov 26 21:10:14 2013
New Revision: 1545843

URL: http://svn.apache.org/r1545843
Log:
QPID-5369: add deprecation warnings to the QMF2 wrapped modules - merge fix to 0.26 branch

(cherry picked from commit 4a6fad1a14750753ef4698e3e4122f4a68106b51)

Modified:
    qpid/branches/0.26/qpid/cpp/bindings/qmf2/python/qmf2.py
    qpid/branches/0.26/qpid/cpp/bindings/qmf2/ruby/qmf2.rb

Modified: qpid/branches/0.26/qpid/cpp/bindings/qmf2/python/qmf2.py
URL: http://svn.apache.org/viewvc/qpid/branches/0.26/qpid/cpp/bindings/qmf2/python/qmf2.py?rev=1545843&r1=1545842&r2=1545843&view=diff
==============================================================================
--- qpid/branches/0.26/qpid/cpp/bindings/qmf2/python/qmf2.py (original)
+++ qpid/branches/0.26/qpid/cpp/bindings/qmf2/python/qmf2.py Tue Nov 26 21:10:14 2013
@@ -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

Modified: qpid/branches/0.26/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
URL: http://svn.apache.org/viewvc/qpid/branches/0.26/qpid/cpp/bindings/qmf2/ruby/qmf2.rb?rev=1545843&r1=1545842&r2=1545843&view=diff
==============================================================================
--- qpid/branches/0.26/qpid/cpp/bindings/qmf2/ruby/qmf2.rb (original)
+++ qpid/branches/0.26/qpid/cpp/bindings/qmf2/ruby/qmf2.rb Tue Nov 26 21:10:14 2013
@@ -17,6 +17,8 @@
 # under the License.
 #
 
+warn 'The qmf2 module is deprecated.  It will be removed in the future.'
+
 require 'cqmf2'
 require 'cqpid'
 require 'thread'



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org