projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b7632a
)
treewalk: fix inverted counter init logic
author
Zac Medico
<zmedico@gentoo.org>
Thu, 12 May 2011 05:35:40 +0000
(22:35 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 12 May 2011 05:36:13 +0000
(22:36 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index a54adc07839d0dcddbfc150d3dce85fb6e874d90..079743c90d89fd9279838b547a51b385d7e67c40 100644
(file)
--- 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'),