diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-24 06:46:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-24 06:46:37 +0000 |
commit | c96c3af624212762c8cda3288da2d4caa40079d0 (patch) | |
tree | 7673e41532d6d27853551dee0c4cabdb87ef92f6 | |
parent | bb09f2284fd2983d2232d3377de8520847aa110b (diff) | |
download | portage-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__.py | 4 |
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]) |