From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AD6551385BF for ; Fri, 28 Aug 2015 00:41:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E4671421E; Fri, 28 Aug 2015 00:41:07 +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 DEC9E1421E for ; Fri, 28 Aug 2015 00:41:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24525340A03 for ; Fri, 28 Aug 2015 00:41:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9C8416B for ; Fri, 28 Aug 2015 00:41:01 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1440696982.bd5d65f3a1c6030fa63f6f3972a67f688d015cbc.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/overlays/ X-VCS-Repository: proj/layman X-VCS-Files: layman/overlays/overlay.py X-VCS-Directories: layman/overlays/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: bd5d65f3a1c6030fa63f6f3972a67f688d015cbc X-VCS-Branch: master Date: Fri, 28 Aug 2015 00:41:01 +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: 65d1e5f3-e4a4-4627-80ba-6412851eef02 X-Archives-Hash: 331a6760622644ae7d1afadc6a5007f8 commit: bd5d65f3a1c6030fa63f6f3972a67f688d015cbc Author: Devan Franchini gentoo org> AuthorDate: Thu Aug 27 17:36:22 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Thu Aug 27 17:36:22 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=bd5d65f3 overlay.py: Improves to_json() setting of descriptions layman/overlays/overlay.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 31fe400..defa4e3 100755 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -661,9 +661,7 @@ class Overlay(object): if self.license != None: repo['@license'] = self.license repo['name'] = self.name - repo['description'] = [] - for i in self.descriptions: - repo['description'].append(i) + repo['description'] = [i for i in self.descriptions] if self.homepage != None: repo['homepage'] = self.homepage if self.irc != None: