[Yum] Updates

Troy Dawson dawson at fnal.gov
Tue Apr 22 17:31:34 UTC 2003


This does the trick, thanks Seth,

I actually was pretty close.  That was the first thing I tried, but I didn't 
put a : after else.  Since that didn't work for me I just kept trying other 
things making it a big mess.

Thanks again
Troy

seth vidal wrote:
> On Tue, 2003-04-22 at 12:48, Troy Dawson wrote:
> 
>>Yep, that works.
>>I was actually trying to get a make a patch for this, see if I could beat ya. 
>>  I was able to find the problem, it's just that everything I've done has made 
>>things worse.  I guess my python skills are a bit ... um ... non-existant, 
>>other than reading the code.
>>Troy
> 
> 
> hehe - but I wrote the code so it's easier for me to remember where I
> screwed up, right? ;)
> 
> 
> diff -u -r1.35.2.19 -r1.35.2.20
> --- pkgaction.py        22 Apr 2003 02:06:29 -0000      1.35.2.19
> +++ pkgaction.py        22 Apr 2003 16:45:44 -0000      1.35.2.20
> @@ -311,6 +311,8 @@
>          if userlist[0] == "hidden":
>              groups = GroupInfo.grouplist
>              userlist.pop(0)
> +        else:
> +            groups = GroupInfo.visible_groups
>      else:
>          groups = GroupInfo.visible_groups
>      
> 
> yes - it's a two line patch, why do you ask?
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum

-- 
__________________________________________________
Troy Dawson  dawson at fnal.gov  (630)840-6468
Fermilab  ComputingDivision/OSS  CSI Group
__________________________________________________




More information about the Yum mailing list