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
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to