aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-04 01:12:51 -0700
committerTim Harder <radhermit@gmail.com>2021-03-04 01:32:29 -0700
commite5483be9d5d90ebe5ac38674529aaabdc3794c61 (patch)
treef1f15e56f4f8fed31c0c692c46e6f6b74b63cd80 /src/pkgcheck/scripts
parentdata: add initial bundled config defining a GentooCI checkset (diff)
downloadpkgcheck-e5483be9d5d90ebe5ac38674529aaabdc3794c61.tar.gz
pkgcheck-e5483be9d5d90ebe5ac38674529aaabdc3794c61.tar.bz2
pkgcheck-e5483be9d5d90ebe5ac38674529aaabdc3794c61.zip
pkgcheck scan: always load settings from bundled config
Diffstat (limited to 'src/pkgcheck/scripts')
-rw-r--r--src/pkgcheck/scripts/pkgcheck_scan.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkgcheck/scripts/pkgcheck_scan.py b/src/pkgcheck/scripts/pkgcheck_scan.py
index d5e5fc1a..4598c511 100644
--- a/src/pkgcheck/scripts/pkgcheck_scan.py
+++ b/src/pkgcheck/scripts/pkgcheck_scan.py
@@ -297,6 +297,9 @@ def _setup_scan(parser, namespace, args):
# parser supporting config file options
config_parser = ConfigFileParser(parser)
+ # always load settings from bundled config
+ namespace = config_parser.parse_config_options(
+ namespace, configs=[const.BUNDLED_CONF_FILE])
# load default args from system/user configs if config-loading is allowed
if namespace.config_file is None: