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 B5C3D138CC5 for ; Tue, 24 Mar 2015 23:08:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31957E0785; Tue, 24 Mar 2015 23:08:15 +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 BD372E0785 for ; Tue, 24 Mar 2015 23:08:14 +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 8F67B3406F1 for ; Tue, 24 Mar 2015 23:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 227741476C for ; Tue, 24 Mar 2015 23:08:09 +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: <1427238334.85c559a59f15376aa9c68abd0b0f8ca3dfb0923b.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/updater.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: 85c559a59f15376aa9c68abd0b0f8ca3dfb0923b X-VCS-Branch: master Date: Tue, 24 Mar 2015 23:08:09 +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: b4c41a64-8357-4037-81e8-0d72f7eec025 X-Archives-Hash: 69f5badff36d3bddfd2fc83f02eee5b3 commit: 85c559a59f15376aa9c68abd0b0f8ca3dfb0923b Author: Devan Franchini gentoo org> AuthorDate: Tue Mar 24 23:05:31 2015 +0000 Commit: Devan Franchini gentoo org> CommitDate: Tue Mar 24 23:05:34 2015 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=85c559a5 updater.py: Removes unnecessary else in create_repos_conf() An else statement which results in a false negative is being removed. layman/updater.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/layman/updater.py b/layman/updater.py index 02e85c7..521f9b3 100644 --- a/layman/updater.py +++ b/layman/updater.py @@ -199,9 +199,6 @@ class Main(object): % conf_dir) self.output.error(' "%s"' % e) return None - else: - msg = str(conf_dir) + ' is a directory.' - self.output.error(' create_repos_conf() error: %s\n' % msg) layman_inst = LaymanAPI(config=self.config) overlays = {}