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 df03007..666e956 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)