Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-14 16:57:45 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-14 16:57:45 (GMT)
commit42baf22d2f5d1480b337c13e035075a5114c3cc6 (patch)
treeb2e22e9a1cb7a7fb34d2b44da03f92ca96612d04
parent9d88d6a8c38e1a35f5749d06214f92513414ed67 (diff)
Fix loading packages config
-rw-r--r--devbot/config.py2
-rw-r--r--devbot/system.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/devbot/config.py b/devbot/config.py
index 11a861c..37f733d 100644
--- a/devbot/config.py
+++ b/devbot/config.py
@@ -51,7 +51,7 @@ def set_build_dir(dir):
build_dir = dir
def load_packages():
- packages = _load_deps_json("packages-%s" % distro.get_system_version())
+ return _load_deps_json("packages-%s" % distro.get_system_version())
def load_prerequisites():
return _load_deps_json("prerequisites")
diff --git a/devbot/system.py b/devbot/system.py
index e3e5d67..6789471 100644
--- a/devbot/system.py
+++ b/devbot/system.py
@@ -179,7 +179,7 @@ def check():
xvfb_proc, orig_display = start_xvfb()
- run_checks(distro_name, config.load_checks(), config.load_packages())
+ run_checks(distro_name, config.load_checks(), packages)
warn_if_unsupported(distro_name)
apply_distro_tweaks(distro_name)