diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-11 22:35:40 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-11 22:36:13 -0700 |
commit | 294afa2858aca7f5ba94b4c09cdbe059758d5280 (patch) | |
tree | 786bebe7429b55bd6a18364f3199cba7851c05b6 /pym | |
parent | 7b7632a5576236a370a129df6e9bf366f0092051 (diff) | |
download | portage-294afa2858aca7f5ba94b4c09cdbe059758d5280.tar.gz portage-294afa2858aca7f5ba94b4c09cdbe059758d5280.tar.bz2 portage-294afa2858aca7f5ba94b4c09cdbe059758d5280.zip |
treewalk: fix inverted counter init logic
Diffstat (limited to 'pym')
-rw-r--r-- | 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 a54adc078..079743c90 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -3243,7 +3243,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'), |