commit:     af0263e4288fab2e888aaff428a87e80a04e0466
Author:     Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 17:51:14 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue May 20 12:27:15 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=af0263e4

fix packed string when it gets NoneType values

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

diff --git a/gkeys/config.py b/gkeys/config.py
index 3edc463..1ff5a18 100644
--- a/gkeys/config.py
+++ b/gkeys/config.py
@@ -146,7 +146,7 @@ class GKEY(namedtuple('GKEY', ['nick', 'name', 'keyid', 
'longkeyid',
     @property
     def packed_string(self):
         '''Returns a separator joined string of the field values'''
-        return self.field_separator.join([x for x in self._packed_values()])
+        return self.field_separator.join([str(x) for x in 
self._packed_values()])
 
     def _unpack_string(self, packed_data):
         '''Returns a list of the separator joined string of the field values'''

Reply via email to