diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-30 23:15:25 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-30 23:15:25 +0000 |
commit | 8e10426aad390c88b3683b374199a20b48cdce9e (patch) | |
tree | 2d50c13d6bfaf3530f2448f5f6c94578fdf6028f /pym/portage/__init__.py | |
parent | b052587e35d2dda778fccb3db3b19557ce05be5b (diff) | |
download | portage-8e10426aad390c88b3683b374199a20b48cdce9e.tar.gz portage-8e10426aad390c88b3683b374199a20b48cdce9e.tar.bz2 portage-8e10426aad390c88b3683b374199a20b48cdce9e.zip |
Add support in MetadataRegen for cleansing stale cache when only a subset
of packages are processed.
svn path=/main/trunk/; revision=13255
Diffstat (limited to 'pym/portage/__init__.py')
-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] |