[pypy-commit] jitviewer default: fix (maybe) newer flasks
fijal
noreply at buildbot.pypy.org
Thu Dec 1 21:34:05 CET 2011
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r176:c87055494d46
Date: 2011-12-01 12:01 +0200
http://bitbucket.org/pypy/jitviewer/changeset/c87055494d46/
Log: fix (maybe) newer flasks
diff --git a/bin/jitviewer.py b/bin/jitviewer.py
--- a/bin/jitviewer.py
+++ b/bin/jitviewer.py
@@ -192,7 +192,7 @@
log, loops = import_log(filename, ParserWithHtmlRepr)
parse_log_counts(extract_category(log, 'jit-backend-count'), loops)
storage.reconnect_loops(loops)
- app = OverrideFlask('__name__', root_path=PATH)
+ app = OverrideFlask('jitviewer', root_path=PATH)
server = Server(filename, storage)
app.debug = True
app.route('/')(server.index)
More information about the pypy-commit
mailing list