Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'devbot/main.py')
-rw-r--r--devbot/main.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/devbot/main.py b/devbot/main.py
index 1584e6a..eaa31a3 100644
--- a/devbot/main.py
+++ b/devbot/main.py
@@ -17,9 +17,6 @@ def run_build(full=False):
state.full_build_touch()
- if not system.check(lazy=True):
- return False
-
if not build.pull(lazy=True):
return False
@@ -35,10 +32,15 @@ def load_plugins():
imp.load_module(name, f, filename, desc)
-def setup(config_args):
+def setup(config_args, check_args):
load_plugins()
config.setup(**config_args)
+ if not system.check(**check_args):
+ return False
+
environ.setup_variables()
environ.setup_gconf()
+
+ return True