diff options
Diffstat (limited to 'pym/portage/__init__.py')
-rw-r--r-- | pym/portage/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 7909a403e..407ff3ee7 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -8078,6 +8078,10 @@ def cpv_getkey(mycpv): m = _cpv_key_re.match(mycpv) if m is not None: return m.group(2) + + warnings.warn("portage.cpv_getkey() called with invalid cpv: '%s'", + DeprecationWarning) + myslash = mycpv.split("/", 1) mysplit=pkgsplit(myslash[-1]) if mysplit is None: |