From 6d37aa42603e5a280414ca6f313a9d56bacfda6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Wed, 14 Sep 2016 10:43:27 +0200 Subject: [PATCH] jenkins_job fix: NameError: global name 'module' is not defined (#2910) --- web_infrastructure/jenkins_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_infrastructure/jenkins_job.py b/web_infrastructure/jenkins_job.py index ee8b1745cb7..af5a28c3e9c 100644 --- a/web_infrastructure/jenkins_job.py +++ b/web_infrastructure/jenkins_job.py @@ -235,7 +235,7 @@ class JenkinsJob: def present_job(self): if self.config is None and self.enabled is None: - module.fail_json(msg='one of the following params is required on state=present: config,enabled') + self.module.fail_json(msg='one of the following params is required on state=present: config,enabled') if not self.job_exists(): self.create_job()