Fix typo when passing config to BeautifulSoup()
authorPaul Belanger <paul.belanger@polybeacon.com>
Wed, 14 Nov 2012 15:17:48 +0000 (10:17 -0500)
committerPaul Belanger <paul.belanger@polybeacon.com>
Wed, 14 Nov 2012 15:17:48 +0000 (10:17 -0500)
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
jenkinsapi/job.py

index 27402bb..7d11921 100644 (file)
@@ -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):