From: Zac Medico Date: Thu, 24 Sep 2009 06:46:37 +0000 (-0000) Subject: Fix previous commit. X-Git-Tag: v2.2_rc42~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c96c3af624212762c8cda3288da2d4caa40079d0;p=portage.git Fix previous commit. svn path=/main/trunk/; revision=14402 --- 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])