counter_tick_core: don't lock if parallel-install
authorZac Medico <zmedico@gentoo.org>
Sat, 14 May 2011 23:53:35 +0000 (16:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 14 May 2011 23:53:35 +0000 (16:53 -0700)
commit461564ae94ff936918eeaa18493bc1da3846796f
tree77f2eb6843f7915d388cb7e982d5e25464e1106f
parent2610d89a6bc1f7df847878bbd1ebbfbe747dacc2
counter_tick_core: don't lock if parallel-install

Hopefully this avoids the following exception:

  File "/usr/lib/portage/pym/portage/locks.py", line 138, in lockfile
    fcntl.lockf(myfd, fcntl.LOCK_EX)
IOError: [Errno 35] Resource deadlock avoided
pym/portage/dbapi/vartree.py