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 1QftE8-0005w7-1J for garchives@archives.gentoo.org; Sun, 10 Jul 2011 12:35:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D541621C07B; Sun, 10 Jul 2011 12:34:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9E01A21C05E for ; Sun, 10 Jul 2011 12:34:54 +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 1836E1B400D for ; Sun, 10 Jul 2011 12:34:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C59D480042 for ; Sun, 10 Jul 2011 12:34:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <74f67a9208c9e28ea8cbe1d4531f6f9019d9d140.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoopm:master commit in: gentoopm/ X-VCS-Repository: proj/gentoopm X-VCS-Files: gentoopm/util.py X-VCS-Directories: gentoopm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 74f67a9208c9e28ea8cbe1d4531f6f9019d9d140 Date: Sun, 10 Jul 2011 12:34:52 +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: efdd1f8738066b0f6079f82446cebb43 commit: 74f67a9208c9e28ea8cbe1d4531f6f9019d9d140 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Sun Jul 10 11:23:06 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Sun Jul 10 11:23:06 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoopm.git;= a=3Dcommit;h=3D74f67a92 Drop IterDictWrapper. No longer used. --- gentoopm/util.py | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/gentoopm/util.py b/gentoopm/util.py index 052c78b..70cd287 100644 --- a/gentoopm/util.py +++ b/gentoopm/util.py @@ -21,20 +21,3 @@ class ABCObject(object): """ A portably-defined object with ABCMeta metaclass. """ __metaclass__ =3D ABCMeta ''') - -class IterDictWrapper(object): - """ - A wrapper to a class providing an iterator & dict interface. - """ - - def __init__(self, subobj): - """ - Instantiate the IterDictWrapper with subobj instance. - """ - self._subobj =3D subobj - - def __iter__(self): - return iter(self._subobj) - - def __getitem__(self, k): - return self._subobj[k]