summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 407ff3ee7..2b6d937cc 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -8079,8 +8079,8 @@ def cpv_getkey(mycpv):
if m is not None:
return m.group(2)
- warnings.warn("portage.cpv_getkey() called with invalid cpv: '%s'",
- DeprecationWarning)
+ warnings.warn("portage.cpv_getkey() called with invalid cpv: '%s'" \
+ % (mycpv,), DeprecationWarning)
myslash = mycpv.split("/", 1)
mysplit=pkgsplit(myslash[-1])