This is an automated email from the ASF dual-hosted git repository.

kpvdr pushed a commit to branch python-check-property-keys
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/python-check-property-keys by 
this push:
     new 4a82545  NO-JIRA: Minor code format fix: added space into if stmt.
4a82545 is described below

commit 4a8254567d8ff5101861f61c21bd1f5312517525
Author: Kim van der Riet <kp...@apache.org>
AuthorDate: Thu Aug 13 09:27:51 2020 -0400

    NO-JIRA: Minor code format fix: added space into if stmt.
---
 python/proton/_message.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/proton/_message.py b/python/proton/_message.py
index 4d022e0..d087163 100644
--- a/python/proton/_message.py
+++ b/python/proton/_message.py
@@ -110,7 +110,7 @@ class Message(object):
         changed_keys = []
         for k in self.properties.keys():
             # If key is a subclass of unicode, convert to unicode. Exclude 
unicode subclasses symbol and char.
-            if isinstance(k, unicode)and not (type(k) is symbol or type(k) is 
char):
+            if isinstance(k, unicode) and not (type(k) is symbol or type(k) is 
char):
                 if type(k) is not unicode:
                     changed_keys.append((k, unicode(k)))
             # Py2 only: If key is binary then convert to unicode. Exclude 
bytes subclass decimal128.


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

Reply via email to