aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-01-22 19:01:21 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-01-22 19:01:21 +0100
commitcb1e3f50c3c2efb42c59cb77459e9114c10cc3c0 (patch)
treebdd7aa7fdb790f96044a3ae56f130a0c6cf4f4b2
parentcaf6cca3ef9d5565a420b34dcb65948821e2f778 (diff)
Make sure we are using a valid defconf value.
* When importing the boot report and searching for its defconfig/build data in the db, make sure we are using the correct defconfig value (defconfig_full or defconfig). Change-Id: I7b64f6f7a0e83a6510a8069608e98c97b830fbb3
-rw-r--r--app/utils/bootimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils/bootimport.py b/app/utils/bootimport.py
index 2ff895e..03be149 100644
--- a/app/utils/bootimport.py
+++ b/app/utils/bootimport.py
@@ -284,7 +284,7 @@ def _update_boot_doc_ids(boot_doc, database):
"""
job = boot_doc.job
kernel = boot_doc.kernel
- defconfig = boot_doc.defconfig
+ defconfig = boot_doc.defconfig_full or boot_doc.defconfig
job_name = models.JOB_DOCUMENT_NAME % {
models.JOB_KEY: job,