From 8540d45fae992d1e644d016c4b78e9e26b3f8b66 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Thu, 6 Mar 2014 11:32:25 +0100 Subject: [PATCH] cumtime is only available in Python 2.7.4 or later --- isso/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isso/__init__.py b/isso/__init__.py index e32ec1a..4b1a7a2 100644 --- a/isso/__init__.py +++ b/isso/__init__.py @@ -176,7 +176,7 @@ def make_app(conf=None, threading=True, multiprocessing=False, uwsgi=False): if isso.conf.getboolean("server", "profile"): wrapper.append(partial(ProfilerMiddleware, - sort_by=("cumtime", ), restrictions=("isso/(?!lib)", 10))) + sort_by=("cumulative", ), restrictions=("isso/(?!lib)", 10))) wrapper.append(partial(SharedDataMiddleware, exports={ '/js': join(dirname(__file__), 'js/'),