summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-24 06:46:37 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-24 06:46:37 +0000
commitc96c3af624212762c8cda3288da2d4caa40079d0 (patch)
tree7673e41532d6d27853551dee0c4cabdb87ef92f6
parentbb09f2284fd2983d2232d3377de8520847aa110b (diff)
downloadportage-c96c3af624212762c8cda3288da2d4caa40079d0.tar.gz
portage-c96c3af624212762c8cda3288da2d4caa40079d0.tar.bz2
portage-c96c3af624212762c8cda3288da2d4caa40079d0.zip
Fix previous commit.
svn path=/main/trunk/; revision=14402
-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])