Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/
Date: Tue, 27 May 2014 20:56:45
Message-Id: 1400588835.af0263e4288fab2e888aaff428a87e80a04e0466.dol-sen@gentoo
1 commit: af0263e4288fab2e888aaff428a87e80a04e0466
2 Author: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 15 17:51:14 2014 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Tue May 20 12:27:15 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=af0263e4
7
8 fix packed string when it gets NoneType values
9
10 ---
11 gkeys/config.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/gkeys/config.py b/gkeys/config.py
15 index 3edc463..1ff5a18 100644
16 --- a/gkeys/config.py
17 +++ b/gkeys/config.py
18 @@ -146,7 +146,7 @@ class GKEY(namedtuple('GKEY', ['nick', 'name', 'keyid', 'longkeyid',
19 @property
20 def packed_string(self):
21 '''Returns a separator joined string of the field values'''
22 - return self.field_separator.join([x for x in self._packed_values()])
23 + return self.field_separator.join([str(x) for x in self._packed_values()])
24
25 def _unpack_string(self, packed_data):
26 '''Returns a list of the separator joined string of the field values'''