[Yum] yum 2.0.1

Dave Shield D.T.Shield at csc.liv.ac.uk
Tue Aug 19 12:54:57 UTC 2003


> yum-arch -q is now much quieter - it only prints anything if there is a
> serious error.

Thanks for that.
Unfortunately, it's still spits out the "Writing header.info file" message
every time.

Can I offer the following patch:

*** pullheaders.py.cln	2003-08-19 13:07:06.000000000 +0100
--- pullheaders.py	2003-08-19 13:07:29.000000000 +0100
***************
*** 146,152 ****
          rpminfo = genhdrs(rpms, tempheaderdir, cmds)
          
          # Write header.info file
!         print _("\nWriting header.info file")
          headerfd = open(tempheaderinfo, "w")
          if cmds['dosrpms']:
              srcheaderfd = open(tempsrcheaderinfo, "w")
--- 146,153 ----
          rpminfo = genhdrs(rpms, tempheaderdir, cmds)
          
          # Write header.info file
!         if not cmds['quiet']:
!             print _("\nWriting header.info file")
          headerfd = open(tempheaderinfo, "w")
          if cmds['dosrpms']:
              srcheaderfd = open(tempsrcheaderinfo, "w")


Dave




More information about the Yum mailing list