From: Marius Mauch Date: Wed, 10 Jan 2007 08:34:43 +0000 (-0000) Subject: Attach the problematic data to the exception for debugging X-Git-Tag: v2.1.2~118 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98910a85137bac42003bdbda691e90bb6b2e6e15;p=portage.git Attach the problematic data to the exception for debugging svn path=/main/trunk/; revision=5513 --- diff --git a/pym/portage_dep.py b/pym/portage_dep.py index 0a1038419..0cb49691d 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -27,7 +27,7 @@ def cpvequal(cpv1, cpv2): split2 = catpkgsplit(cpv2) if not split1 or not split2: - raise portage_exception.PortageException("Invalid data, parameter was not a CPV") + raise portage_exception.PortageException("Invalid data '%s, %s', parameter was not a CPV" % (cpv1, cpv2)) if split1[0] != split2[0]: return False