change a var
authorWilliam Zhang <jollychang@gmail.com>
Wed, 9 May 2012 02:36:41 +0000 (10:36 +0800)
committerWilliam Zhang <jollychang@gmail.com>
Wed, 9 May 2012 02:36:41 +0000 (10:36 +0800)
jenkinsapi/job.py

index df03007f48f874e7f20fce1252f001516ac7f1df..666e95605e75a569d6ec2e1af22025fe2c9a4f65 100644 (file)
@@ -205,4 +205,4 @@ class Job(JenkinsBase):
 
     def update_config(self, config):
         '''Update the config.xml to the job'''
-        return self.post_data("%(baseurl)s/config.xml" % self.__dict__, jobconfig)
+        return self.post_data("%(baseurl)s/config.xml" % self.__dict__, config)