[CalendarServer-changes] [2434] CalendarServer/trunk/lib-patches/Twisted/twisted.application.app. patch
source_changes at macosforge.org
source_changes at macosforge.org
Tue May 20 10:39:40 PDT 2008
Revision: 2434
http://trac.macosforge.org/projects/calendarserver/changeset/2434
Author: dreid at apple.com
Date: 2008-05-20 10:39:38 -0700 (Tue, 20 May 2008)
Log Message:
-----------
Make twisted use cProfile instead of profile
Added Paths:
-----------
CalendarServer/trunk/lib-patches/Twisted/twisted.application.app.patch
Added: CalendarServer/trunk/lib-patches/Twisted/twisted.application.app.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.application.app.patch (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.application.app.patch 2008-05-20 17:39:38 UTC (rev 2434)
@@ -0,0 +1,13 @@
+Index: twisted/application/app.py
+===================================================================
+--- twisted/application/app.py (revision 19773)
++++ twisted/application/app.py (working copy)
+@@ -18,7 +18,7 @@
+ def runWithProfiler(reactor, config):
+ """Run reactor under standard profiler."""
+ try:
+- import profile
++ import cProfile as profile
+ except ImportError, e:
+ s = "Failed to import module profile: %s" % e
+ s += """
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080520/1e4e338c/attachment-0001.htm
More information about the calendarserver-changes
mailing list