Fix previous commit.
authorZac Medico <zmedico@gentoo.org>
Thu, 24 Sep 2009 06:46:37 +0000 (06:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 Sep 2009 06:46:37 +0000 (06:46 -0000)
svn path=/main/trunk/; revision=14402

pym/portage/__init__.py

index 407ff3ee74e0f380d828856d3a90b72d8ae77413..2b6d937cc7513f5cc98f9577a137bb5acf2753cd 100644 (file)
@@ -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])