projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbe82f
)
Attach the problematic data to the exception for debugging
author
Marius Mauch
<genone@gentoo.org>
Wed, 10 Jan 2007 08:34:43 +0000
(08:34 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Wed, 10 Jan 2007 08:34:43 +0000
(08:34 -0000)
svn path=/main/trunk/; revision=5513
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index 0a103841936767086d47af3c618d59ee6b025517..0cb49691db886792126ce5123ee0f12003e2cfb7 100644
(file)
--- 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