summaryrefslogtreecommitdiffstats
path: root/jenkins_jobs/config.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-20 15:31:49 +0000
committerGerrit Code Review <review@openstack.org>2018-01-20 15:31:49 +0000
commit05e1d8eea150a4f7724da8113008acbd387a35cf (patch)
tree57cf1bcd8a8a48298f5f1c187da2e519ba6ad357 /jenkins_jobs/config.py
parent8cb7d61dd93407f2d25eaac662aeac5a5dd8ef4a (diff)
parentc0b3b021dccf37b6665d35e5cfafab88f2c16618 (diff)
downloadpython-jenkins-job-builder-05e1d8eea150a4f7724da8113008acbd387a35cf.tar.gz
python-jenkins-job-builder-05e1d8eea150a4f7724da8113008acbd387a35cf.tar.xz
python-jenkins-job-builder-05e1d8eea150a4f7724da8113008acbd387a35cf.zip
Merge "Improve test resiliency"
Diffstat (limited to 'jenkins_jobs/config.py')
-rw-r--r--jenkins_jobs/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/jenkins_jobs/config.py b/jenkins_jobs/config.py
index 3fe47136..81438e13 100644
--- a/jenkins_jobs/config.py
+++ b/jenkins_jobs/config.py
@@ -199,10 +199,10 @@ class JJBConfig(object):
# check the ignore_cache setting
ignore_cache = False
if config.has_option(self._section, 'ignore_cache'):
- logging.warning("ignore_cache option should be moved to the "
- "[job_builder] section in the config file, the "
- "one specified in the [jenkins] section will be "
- "ignored in the future")
+ logger.warning("ignore_cache option should be moved to the "
+ "[job_builder] section in the config file, the "
+ "one specified in the [jenkins] section will be "
+ "ignored in the future")
ignore_cache = config.getboolean(self._section, 'ignore_cache')
elif config.has_option('job_builder', 'ignore_cache'):
ignore_cache = config.getboolean('job_builder', 'ignore_cache')