[llvm-commits] [zorg] r125932 - /zorg/trunk/llvmlab/llvmlab/ui/app.py
Daniel Dunbar
daniel at zuster.org
Fri Feb 18 08:44:38 PST 2011
Author: ddunbar
Date: Fri Feb 18 10:44:38 2011
New Revision: 125932
URL: http://llvm.org/viewvc/llvm-project?rev=125932&view=rev
Log:
llvmlab: Drop the hard coded phase config, the expectation is that a specific
installation will load the appropriate dashboard config via a plugin.
Modified:
zorg/trunk/llvmlab/llvmlab/ui/app.py
Modified: zorg/trunk/llvmlab/llvmlab/ui/app.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ui/app.py?rev=125932&r1=125931&r2=125932&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ui/app.py (original)
+++ zorg/trunk/llvmlab/llvmlab/ui/app.py Fri Feb 18 10:44:38 2011
@@ -55,18 +55,17 @@
app.register_module(llvmlab.ui.ci.views.ci)
app.register_module(llvmlab.ui.frontend.views.frontend)
- # Spawn the status monitor thread.
- app.monitor = app.config.status.start_monitor(app)
-
- # Construct the dashboard summary object.
- app.config.summary = llvmlab.ci.summary.Summary(
- llvmlab.ui.ci.views.g_config, app.config.status)
+ # Clear the dashboard summary object.
+ app.config.summary = None
# Load any dashboard plugins.
plugins_module = app.config["PLUGIN_MODULE"]
if plugins_module:
module = __import__(plugins_module, fromlist=['__name__'])
module.register(app)
+
+ # Spawn the status monitor thread.
+ app.monitor = app.config.status.start_monitor(app)
return app
More information about the llvm-commits
mailing list