[Yum] Updates

seth vidal skvidal at phy.duke.edu
Tue Apr 22 16:51:16 UTC 2003


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





More information about the Yum mailing list