From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3F4081381FA for ; Tue, 27 May 2014 20:56:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 552B3E0815; Tue, 27 May 2014 20:56:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AAECBE0815 for ; Tue, 27 May 2014 20:56:43 +0000 (UTC) Received: from spoonbill.gentoo.org (unknown [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0D2333F8F8 for ; Tue, 27 May 2014 20:56:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 775E9182D3 for ; Tue, 27 May 2014 20:56:39 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1400588835.af0263e4288fab2e888aaff428a87e80a04e0466.dol-sen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys/config.py X-VCS-Directories: gkeys/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: af0263e4288fab2e888aaff428a87e80a04e0466 X-VCS-Branch: master Date: Tue, 27 May 2014 20:56:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9d998252-ee07-46de-b7ca-61cfcdc7ea9a X-Archives-Hash: 873060ae4254c529bd6de353d08c05b1 commit: af0263e4288fab2e888aaff428a87e80a04e0466 Author: Pavlos Ratis gentoo org> AuthorDate: Thu May 15 17:51:14 2014 +0000 Commit: Brian Dolbec gmail 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'''