From 3022a9c90a374a9c6ba402b6aede0a503bf6315e Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 25 Dec 2012 17:39:56 +0000 Subject: Allow the config to require a full build --- (limited to 'devbot/config.py') diff --git a/devbot/config.py b/devbot/config.py index dba6709..3a396cd 100644 --- a/devbot/config.py +++ b/devbot/config.py @@ -247,7 +247,14 @@ def _read_index(dir_name, extra=[]): with open(os.path.join(index_dir, "index.json")) as f: files.extend(json.load(f)) return [os.path.join(index_dir, json_file) for json_file in files] - + +def get_full_build(): + config = None + with open(os.path.join(config_dir, "config.json")) as f: + config = json.load(f) + + return config["full_build"] + def load_packages(): packages = {} -- cgit v0.9.1