diff options
author | Marius Mauch <genone@gentoo.org> | 2007-01-10 08:34:43 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-01-10 08:34:43 +0000 |
commit | 98910a85137bac42003bdbda691e90bb6b2e6e15 (patch) | |
tree | 24698e9b117f3fc2f8e5e4687464c5df6ed343e0 | |
parent | dcbe82f8209090b1965d45f5e7f296eba4639ed8 (diff) | |
download | portage-98910a85137bac42003bdbda691e90bb6b2e6e15.tar.gz portage-98910a85137bac42003bdbda691e90bb6b2e6e15.tar.bz2 portage-98910a85137bac42003bdbda691e90bb6b2e6e15.zip |
Attach the problematic data to the exception for debugging
svn path=/main/trunk/; revision=5513
-rw-r--r-- | pym/portage_dep.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |