commit:     1f9c0314396136e3e4c8a47c344d7d18f497c644
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 13 18:31:11 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Sat Dec 20 16:46:05 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=1f9c0314

gkeys.base.py: Fix a unicode handling error in print_results()

---
 gkeys/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gkeys/base.py b/gkeys/base.py
index 0ec8a03..95142f9 100644
--- a/gkeys/base.py
+++ b/gkeys/base.py
@@ -238,7 +238,7 @@ class CliBase(object):
         if header:
             print(header)
         for msg in results:
-            if isinstance(msg, str):
+            if isinstance(msg, str) or isinstance(msg, unicode):
                 print('    ', msg)
             else:
                 try:

Reply via email to