projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ec54b
)
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:35:40 +0000
(22:35 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 41a932991a1077fbc954f0c5cb06bb5f7e043107..989e96942d8b94d0d2e36f5a12bab52417958e4c 100644
(file)
--- 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'),