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 1QKOZC-0004se-IT for garchives@archives.gentoo.org; Thu, 12 May 2011 05:36:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 115601C076; Thu, 12 May 2011 05:35:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D003C1C076 for ; Thu, 12 May 2011 05:35:53 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A43F1B401E for ; Thu, 12 May 2011 05:35:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 7E1E980062 for ; Thu, 12 May 2011 05:35:52 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/vartree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: f8008b86ae0f6b324c74cf8cbc999f2bca881e92 Date: Thu, 12 May 2011 05:35: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: 2ec4e479681b2e0a0563327edb748ec4 commit: f8008b86ae0f6b324c74cf8cbc999f2bca881e92 Author: Zac Medico gentoo org> AuthorDate: Thu May 12 05:35:40 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu May 12 05:35:40 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Df8008b86 treewalk: fix inverted counter init logic --- pym/portage/dbapi/vartree.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 41a9329..989e969 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3277,7 +3277,7 @@ class dblink(object): self.copyfile(inforoot+"/"+x) =20 # write local package counter for recording - if counter is not None: + if counter is None: counter =3D self.vartree.dbapi.counter_tick(mycpv=3Dself.mycpv) codecs.open(_unicode_encode(os.path.join(self.dbtmpdir, 'COUNTER'), encoding=3D_encodings['fs'], errors=3D'strict'),