Fix use_reduce() so that it appropriately raises an InvalidDependString
authorZac Medico <zmedico@gentoo.org>
Sat, 24 May 2008 21:00:07 +0000 (21:00 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 May 2008 21:00:07 +0000 (21:00 -0000)
commit7502324ea6d85f96b251973014684cba5251d973
tree8b5c006b9dd031763d2e40d89f265cd17854f821
parent522b31e2198a5c4a717b38273b61cc8ff3d98dfb
Fix use_reduce() so that it appropriately raises an InvalidDependString
instead of an IndexError in some cases (avoid IndexError by using slice
notation).

svn path=/main/trunk/; revision=10391
pym/portage/dep.py