projects
/
gentoo-keys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b45fb
)
fix packed string when it gets NoneType values
author
Pavlos Ratis
<dastergon@gentoo.org>
Thu, 15 May 2014 17:51:14 +0000
(20:51 +0300)
committer
Pavlos Ratis
<dastergon@gentoo.org>
Tue, 20 May 2014 12:27:15 +0000
(15:27 +0300)
gkeys/config.py
patch
|
blob
|
history
diff --git
a/gkeys/config.py
b/gkeys/config.py
index 3edc463c5d7eac3021a699a362e84028d1490d09..1ff5a18483d6d3463173a449b6c66575d65142f3 100644
(file)
--- 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'''