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 1QjbbP-00025w-4E for garchives@archives.gentoo.org; Wed, 20 Jul 2011 18:34:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F2B921C03E; Wed, 20 Jul 2011 18:34:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 09DF821C03E for ; Wed, 20 Jul 2011 18:34:22 +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 7317B2AC0CE for ; Wed, 20 Jul 2011 18:34:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A86FA8003D for ; Wed, 20 Jul 2011 18:34:21 +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: <2a3d535c9a6ec6680832ce2bc249f9bc80b67864.dol-sen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/db.py layman/dbbase.py X-VCS-Directories: layman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 2a3d535c9a6ec6680832ce2bc249f9bc80b67864 Date: Wed, 20 Jul 2011 18:34:21 +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: e75d652adec08ede1c4d5dd032dff1f3 commit: 2a3d535c9a6ec6680832ce2bc249f9bc80b67864 Author: dol-sen gmail com> AuthorDate: Wed Jul 20 18:27:12 2011 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Jul 20 18:27:12 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D= commit;h=3D2a3d535c fix --list --verbose functionality, bug 375779 --- layman/db.py | 2 +- layman/dbbase.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layman/db.py b/layman/db.py index b1df906..747eb4b 100644 --- a/layman/db.py +++ b/layman/db.py @@ -391,7 +391,7 @@ class RemoteDB(DbBase): if hint: self.output.warn( 'You do not have permission to update the cache = (%s).' - % mpath) + % path) import getpass if getpass.getuser() !=3D 'root': self.output.warn('Hint: You are not root.\n') diff --git a/layman/dbbase.py b/layman/dbbase.py index 70d0cfa..48199a6 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -277,8 +277,8 @@ class DbBase: =20 for overlay in selection: if verbose: - result.append(overlay.get_infostr(), overlay.is_supporte= d(), - overlay.is_official()) + result.append((overlay.get_infostr(), overlay.is_support= ed(), + overlay.is_official())) else: result.append((overlay.short_list(width), overlay.is_sup= ported(), overlay.is_official()))