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 54003138D18 for ; Mon, 13 Jul 2015 19:04:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFFBCE0907; Mon, 13 Jul 2015 19:04:40 +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 8422BE0907 for ; Mon, 13 Jul 2015 19:04:40 +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 14FFF33E5E4 for ; Mon, 13 Jul 2015 19:04:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA9D8904 for ; Mon, 13 Jul 2015 19:04:35 +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: <1436814330.8279886d04bb1469753144c1d204fd1ae20f528f.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: 8279886d04bb1469753144c1d204fd1ae20f528f X-VCS-Branch: master Date: Mon, 13 Jul 2015 19:04:35 +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: 029d0d3a-9494-4180-8cc7-f0e93f9ceb50 X-Archives-Hash: 4791a363747b9caf3c950753f9f01a47 commit: 8279886d04bb1469753144c1d204fd1ae20f528f Author: Devan Franchini gentoo org> AuthorDate: Mon Jul 13 19:05:30 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Mon Jul 13 19:05:30 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=8279886d overlay.py: Fixes any other mistakes made in haste layman/overlays/overlay.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index cf99499..82e2f9f 100755 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -316,7 +316,7 @@ class Overlay(object): elif ignore == 1: self.output.warn(msg, 4) - if 'description' in overlay: + if 'description' in overlay: self.descriptions = [] _descs = overlay['description'] for d in _descs: @@ -602,7 +602,10 @@ class Overlay(object): def source_types(self): for i in self.sources: - yield i.type def is_official(self): + yield i.type + + + def is_official(self): ''' Is the overlay official? '''