From 1b32c98f14766d3e956c52d6b803b19e5126c893 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 28 Dec 2012 16:58:07 +0000 Subject: Move system checking to the build module --- (limited to 'devbot/build.py') diff --git a/devbot/build.py b/devbot/build.py index 6380c6e..95652b5 100644 --- a/devbot/build.py +++ b/devbot/build.py @@ -12,6 +12,7 @@ from devbot import state from devbot import utils from devbot import release from devbot import git +from devbot import system _builders = {} _distributors = {} @@ -57,7 +58,11 @@ def build(full=False): state.full_build_touch() - pull(lazy=True) + if not system.check(lazy=True): + return False + + if not pull(lazy=True): + return False to_build = [] for module in config.load_modules(): -- cgit v0.9.1