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 5A74D1385CC for ; Fri, 28 Aug 2015 01:48:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68998142F0; Fri, 28 Aug 2015 01:48:09 +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 D0DE4142F0 for ; Fri, 28 Aug 2015 01:48:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4D5B340BBE for ; Fri, 28 Aug 2015 01:48:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B07F213B for ; Fri, 28 Aug 2015 01:48:05 +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: <1440723138.b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/utils.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4 X-VCS-Branch: master Date: Fri, 28 Aug 2015 01:48:05 +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: 1cbbc569-c4c6-40c5-b413-9f730ded0d7e X-Archives-Hash: 1534cc09ea08360149c399e5161012ea commit: b5239542b305a6b2638b5dc8cfe19ddb3fe09ef4 Author: Devan Franchini gentoo org> AuthorDate: Fri Aug 28 00:52:16 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Fri Aug 28 00:52:18 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=b5239542 utils.py: Gives create_overlay_dict a well needed updating As this function exists with the API consumer in mind the function was well overdue for getting it the result keys updated to reflect all the ongoing changes in layman's API. layman/utils.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/layman/utils.py b/layman/utils.py index b8e1e2a..9530701 100644 --- a/layman/utils.py +++ b/layman/utils.py @@ -331,13 +331,12 @@ def create_overlay_dict(**kwargs): """ result = { 'name': '', - 'owner_name': '', - 'owner_email': '', + 'owner': [], 'homepage': '', 'irc': '', - 'description': '', - 'feeds': [], - 'sources': [('','','')], + 'description': [], + 'feed': [], + 'source': [('','','')], 'priority': 50, 'quality': 'experimental', 'status': '',