From 4c195aad5572ccd11d585f9768834344acc9f908 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sun, 25 Dec 2005 10:49:40 +0000 Subject: [PATCH] Remove the now unnecessary USE="*" hack. svn path=/main/trunk/; revision=2469 --- pym/portage.py | 5 +---- pym/portage_dep.py | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 24d1ded55..9129aa494 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3292,10 +3292,7 @@ def dep_check(depstring,mydbapi,mysettings,use="yes",mode=None,myuse=None,use_ca #check_config_instance(mysettings) - if use=="all": - #enable everything (for repoman) - myusesplit=["*"] - elif use=="yes": + if use=="yes": if myuse==None: #default behavior myusesplit = string.split(mysettings["USE"]) diff --git a/pym/portage_dep.py b/pym/portage_dep.py index 287366734..59a48185d 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -73,10 +73,6 @@ def use_reduce(deparray, uselist=[], masklist=[], matchall=0, excludeall=[]): # Conditional with no target raise portage_exception.InvalidDependString("INVALID "+deparray[x]+" DEPEND STRING: "+str(deparray)) - #XXX: Compatibility -- Still required? - if ("*" in uselist): - matchall=1 - mydeparray = deparray[:] rlist = [] while mydeparray: -- 2.26.2