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 7435C1384C3 for ; Sat, 5 Sep 2015 06:03:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32A51141C9; Sat, 5 Sep 2015 06:03:53 +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 D5A78141C9 for ; Sat, 5 Sep 2015 06:03:52 +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 B6010340702 for ; Sat, 5 Sep 2015 06:03:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C01A198 for ; Sat, 5 Sep 2015 06:03:48 +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: <1441433015.3ed3bc4d73658acc7f9541d34c7e9d1190211a41.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/api.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 3ed3bc4d73658acc7f9541d34c7e9d1190211a41 X-VCS-Branch: master Date: Sat, 5 Sep 2015 06:03:48 +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: b5ec75d0-437d-429e-87e6-599129fede44 X-Archives-Hash: ae934278d234ad97c1d6b758a7810af3 commit: 3ed3bc4d73658acc7f9541d34c7e9d1190211a41 Author: Devan Franchini gentoo org> AuthorDate: Sat Sep 5 06:03:32 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Sat Sep 5 06:03:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=3ed3bc4d api.py: Corrects typo in enable/disable_repo functions() References git issue #30. layman/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layman/api.py b/layman/api.py index 20fe402..2c46bb7 100755 --- a/layman/api.py +++ b/layman/api.py @@ -193,7 +193,7 @@ class LaymanAPI(object): for ovl in repos: if not self.is_repo(ovl): self.output.error(UnknownOverlayMessage(ovl)) - result.append(False) + results.append(False) continue success = False try: @@ -218,7 +218,7 @@ class LaymanAPI(object): for ovl in repos: if not self.is_repo(ovl): self.output.error(UnknownOverlayMessage(ovl)) - result.append(False) + results.append(False) continue success = False try: