From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-362056-garchives=archives.gentoo.org@lists.gentoo.org>) id 1Qgj9F-000698-Gd for garchives@archives.gentoo.org; Tue, 12 Jul 2011 20:01:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70EC021C0BA; Tue, 12 Jul 2011 20:01:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B9E221C0BA for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jul 2011 20:01:29 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A0DB2AC230 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jul 2011 20:01:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A43708003D for <gentoo-commits@lists.gentoo.org>; Tue, 12 Jul 2011 20:01:27 +0000 (UTC) From: "Brian Dolbec" <brian.dolbec@gmail.com> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <brian.dolbec@gmail.com> Message-ID: <bebce640cda970df5f98e1a9d3a2d0c4a68b2e57.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/db.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: bebce640cda970df5f98e1a9d3a2d0c4a68b2e57 Date: Tue, 12 Jul 2011 20:01:27 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f771cd5cd9719666ebdd3fc0f4b3a2c8 commit: bebce640cda970df5f98e1a9d3a2d0c4a68b2e57 Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> AuthorDate: Tue Jul 12 20:00:54 2011 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Tue Jul 12 20:00:54 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3Dbebce640 change raising an exceptio to outputing the error. --- layman/db.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/layman/db.py b/layman/db.py index 3ed5cc6..b1df906 100644 --- a/layman/db.py +++ b/layman/db.py @@ -206,7 +206,9 @@ class DB(DbBase): self.write(self.path) make_conf.delete(overlay) else: - raise Exception('No local overlay named "' + overlay.name + = '"!') + self.output.error('No local overlay named "' + overlay.name = + '"!') + return False + return True =20 def sync(self, overlay_name, quiet =3D False): '''Synchronize the given overlay.'''