Fix use_reduce() so that it appropriately raises an InvalidDependString
authorZac Medico <zmedico@gentoo.org>
Sun, 25 May 2008 04:19:38 +0000 (04:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 May 2008 04:19:38 +0000 (04:19 -0000)
commit5e39470e1d14bf9cca26bc955354f409ddd8b2d4
tree4c08f62675bf02c3f06f28dbbe393f8174e184b8
parentc8f9e92d1da597fbc8c64dee026bcde55c5bfa1e
Fix use_reduce() so that it appropriately raises an InvalidDependString
instead of an IndexError in some cases (avoid IndexError by using slice
notation). (trunk r10391)

svn path=/main/branches/2.1.2/; revision=10407
pym/portage_dep.py