From 98910a85137bac42003bdbda691e90bb6b2e6e15 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Wed, 10 Jan 2007 08:34:43 +0000 Subject: [PATCH] Attach the problematic data to the exception for debugging svn path=/main/trunk/; revision=5513 --- pym/portage_dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2