From c96c3af624212762c8cda3288da2d4caa40079d0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 Sep 2009 06:46:37 +0000 Subject: Fix previous commit. svn path=/main/trunk/; revision=14402 --- pym/portage/__init__.py | 4 ++-- 1 file 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]) -- cgit v1.2.3-1-g7c22