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 ) id 1Qup0p-0000jm-ON for garchives@archives.gentoo.org; Sat, 20 Aug 2011 17:07:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1F1E21C095; Sat, 20 Aug 2011 17:06:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A05BC21C086 for ; Sat, 20 Aug 2011 17:06:53 +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 F2A061B401A for ; Sat, 20 Aug 2011 17:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B352180048 for ; Sat, 20 Aug 2011 17:06:51 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: 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: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: e78113321c0627291c176930e0493867e9cafc1d Date: Sat, 20 Aug 2011 17:06:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 4f5092775c6fb2b026212bd0627509fa commit: e78113321c0627291c176930e0493867e9cafc1d Author: dol-sen gmail com> AuthorDate: Sat Aug 13 15:01:49 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Aug 13 15:01:49 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3De7811332 remove some dead ERROR constants --- layman/api.py | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/layman/api.py b/layman/api.py index f48e11f..cfd9a68 100755 --- a/layman/api.py +++ b/layman/api.py @@ -23,10 +23,6 @@ from layman.db import DB, RemoteDB from layman.overlays.source import require_supported #from layman.utils import path, delete_empty_directory =20 -# give them some values for now, these are from the packagekit backend -# TODO establish some proper errors for the api. -ERROR_REPO_NOT_FOUND =3D -1 -ERROR_INTERNAL_ERROR =3D -2 UNKNOWN_REPO_ID =3D "Repo ID '%s' " + \ "is not listed in the current available overlays list" =20