Do not include the whole input string in the use_reduce()
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Aug 2010 03:01:37 +0000 (20:01 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Aug 2010 03:01:37 +0000 (20:01 -0700)
commit6aa2a0c5bb6eedf9c8024b1a20d40e802ec13516
tree3860b280f4bfccfb8117499b1262c5aaac5bfbd9
parent26798e8a21cf90e87ab2a1c04468fbf6f38d723e
Do not include the whole input string in the use_reduce()
InvalidDependString messages since the string is often extremely
long which makes it flood the terminal when displayed. Instead
we'll have to rely on the caller to display react appropriately
to the exception (perhaps displaying the whole input if
appropriate).
pym/portage/dep/__init__.py