diff options
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 919b2108b..a5828cf5a 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -7180,6 +7180,8 @@ def dep_wordreduce(mydeplist,mysettings,mydbapi,mode,use_cache=1): def cpv_getkey(mycpv): myslash=mycpv.split("/") mysplit=pkgsplit(myslash[-1]) + if mysplit is None: + return None mylen=len(myslash) if mylen==2: return myslash[0]+"/"+mysplit[0] |