qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [28/50] [abbrv] qpid-proton git commit: removed extraneous and harmful __str__
Date Fri, 14 Nov 2014 11:03:37 GMT
removed extraneous and harmful __str__

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1634078 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d16ab03c
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d16ab03c
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d16ab03c

Branch: refs/heads/examples
Commit: d16ab03cf517ac4e1ecd47a036d559c46529765b
Parents: 51625e5
Author: Rafael H. Schloming <rhs@apache.org>
Authored: Fri Oct 24 15:44:49 2014 +0000
Committer: Rafael H. Schloming <rhs@apache.org>
Committed: Fri Oct 24 15:44:49 2014 +0000

----------------------------------------------------------------------
 proton-c/bindings/python/proton.py | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d16ab03c/proton-c/bindings/python/proton.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton.py b/proton-c/bindings/python/proton.py
index 862b673..8399952 100644
--- a/proton-c/bindings/python/proton.py
+++ b/proton-c/bindings/python/proton.py
@@ -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


Mime
View raw message