From f8008b86ae0f6b324c74cf8cbc999f2bca881e92 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 May 2011 22:35:40 -0700 Subject: treewalk: fix inverted counter init logic --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 41a932991..989e96942 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3277,7 +3277,7 @@ class dblink(object): self.copyfile(inforoot+"/"+x) # write local package counter for recording - if counter is not None: + if counter is None: counter = self.vartree.dbapi.counter_tick(mycpv=self.mycpv) codecs.open(_unicode_encode(os.path.join(self.dbtmpdir, 'COUNTER'), encoding=_encodings['fs'], errors='strict'), -- cgit v1.2.3-1-g7c22