From 249b2f55b9363302500b284e1594ffdb249afa15 Mon Sep 17 00:00:00 2001 From: David Rousselie Date: Tue, 1 Dec 2009 21:45:48 +0100 Subject: [PATCH] Use cProfile instead of profile module Ignore-this: 266b2725d57ff98d198dfc4ffccc3af3 darcs-hash:20091201204548-86b55-b53336231cd5c6d7aa33aab05384bed2b7829c47.gz --- profile_jmc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profile_jmc.py b/profile_jmc.py index 4260933..6e81e84 100644 --- a/profile_jmc.py +++ b/profile_jmc.py @@ -21,7 +21,7 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -import profile +import cProfile import jmc.runner as runner -profile.run("runner.main()", "jmc.prof") +cProfile.run("runner.main()", "jmc.prof")