From e47a45d505f8ca19c65cc5b034e9811f2c728d71 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Wed, 9 May 2012 10:36:41 +0800 Subject: [PATCH] change a var --- jenkinsapi/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index df03007..666e956 100644 --- a/jenkinsapi/job.py +++ b/jenkinsapi/job.py @@ -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) -- 2.7.4