[Yum-devel] Re: [yum-cvs] yum cli.py, 1.241.2.8, 1.241.2.9 yum-updatesd.py, 1.22.2.9, 1.22.2.10 yum.spec, 1.83.2.3, 1.83.2.4 yummain.py, 1.100.2.3, 1.100.2.4
Tim Lauridsen
tla at rasmil.dk
Sun Jan 28 08:26:27 UTC 2007
James Bowes wrote:
> Update of /home/groups/yum/cvs/yum
> In directory login1.linux.duke.edu:/tmp/cvs-serv2718
>
> Modified Files:
> Tag: yum-3_0_X
> cli.py yum-updatesd.py yum.spec yummain.py
> Log Message:
> Store all config files under /etc/yum. Fallback to the old locations if needed.
>
>
> Index: yummain.py
> ===================================================================
> RCS file: /home/groups/yum/cvs/yum/yummain.py,v
> retrieving revision 1.100.2.3
> retrieving revision 1.100.2.4
> diff -u -r1.100.2.3 -r1.100.2.4
> --- yummain.py 19 Dec 2006 03:48:56 -0000 1.100.2.3
> +++ yummain.py 27 Jan 2007 03:05:37 -0000 1.100.2.4
> @@ -183,12 +183,12 @@
> unlock()
> sys.exit(0)
>
> -
> +
> if __name__ == "__main__":
> - #import hotshot
> - #p = hotshot.Profile(os.path.expanduser("~/yum.prof"))
> - #p.run('main(sys.argv[1:])')
> - #p.close()
> + import hotshot
> + p = hotshot.Profile("yum.prof")
> + p.run('main(sys.argv[1:])')
> + p.close()
> try:
> main(sys.argv[1:])
> except KeyboardInterrupt, e:
>
> _______________________________________________
> https://lists.dulug.duke.edu/mailman/listinfo/yum-cvs-commits
>
Is this right ???, the profile stuff, should not be enabled by default
in the 3_0_X branch
Tim
More information about the Yum-devel
mailing list