You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2014/10/24 17:44:49 UTC
svn commit: r1634078 - /qpid/proton/trunk/proton-c/bindings/python/proton.py
Author: rhs
Date: Fri Oct 24 15:44:49 2014
New Revision: 1634078
URL: http://svn.apache.org/r1634078
Log:
removed extraneous and harmful __str__
Modified:
qpid/proton/trunk/proton-c/bindings/python/proton.py
Modified: qpid/proton/trunk/proton-c/bindings/python/proton.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/proton.py?rev=1634078&r1=1634077&r2=1634078&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/proton.py (original)
+++ qpid/proton/trunk/proton-c/bindings/python/proton.py Fri Oct 24 15:44:49 2014
@@ -2218,9 +2218,6 @@ class Condition:
(self.name, self.description, self.info)
if x])
- def __str__(self):
- return ": ".join(filter(None, [self.name, self.description, self.info]))
-
def __eq__(self, o):
if not isinstance(o, Condition): return False
return self.name == o.name and \
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org