From e4e4cd7dc551c4754c3128a8cb8dc8b79719cc9b Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 14 Nov 2012 10:17:48 -0500 Subject: [PATCH] Fix typo when passing config to BeautifulSoup() Signed-off-by: Paul Belanger --- jenkinsapi/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index 27402bb..7d11921 100644 --- a/jenkinsapi/job.py +++ b/jenkinsapi/job.py @@ -255,7 +255,7 @@ class Job(JenkinsBase): Also refresh the BeautifulSoup object since the config has changed """ post_data = self.post_data("%(baseurl)s/config.xml" % self.__dict__, config) - self.bs = BeautifulSoup(self._config, 'xml') + self.bs = BeautifulSoup(config, 'xml') return post_data def get_downstream_jobs(self): -- 2.34.1