In LinkageMap.rebuild(), immediately raise a CommandNotFound exception if
authorZac Medico <zmedico@gentoo.org>
Fri, 7 Nov 2008 22:18:33 +0000 (22:18 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 7 Nov 2008 22:18:33 +0000 (22:18 -0000)
commit0f644654426cc0f8c989796a3e0ee649c315f7c9
tree81f1c6edce685d4d15ff63396a5a18358b2cbd97
parentea1de47bea337f578754db7ce21c1bbd69701f7a
In LinkageMap.rebuild(), immediately raise a CommandNotFound exception if
scanelf is missing since otherwise it will lead to a KeyError later on
from findConsumers or findProviders. This will allow the caller to handle
the CommandNotFound exception if necessary, and skip any findConsumers or
findProviders since they won't be able to return valid results.

svn path=/main/trunk/; revision=11826
pym/portage/dbapi/vartree.py