diff options
author | Wayne Warren <waynr+launchpad@sdf.org> | 2016-05-22 14:53:21 -0700 |
---|---|---|
committer | Wayne Warren <waynr+launchpad@sdf.org> | 2016-08-20 00:46:57 -0700 |
commit | 1fe7709923162f924390d7687092ce0eeecccbfc (patch) | |
tree | 9933bda8d681bdd3658886af02a8e7859dbc0762 /jenkins_jobs/builder.py | |
parent | 8ffb11a4bf2c122d1ba29aba07e7f22b6ab32933 (diff) | |
download | python-jenkins-job-builder-1fe7709923162f924390d7687092ce0eeecccbfc.tar.gz python-jenkins-job-builder-1fe7709923162f924390d7687092ce0eeecccbfc.tar.xz python-jenkins-job-builder-1fe7709923162f924390d7687092ce0eeecccbfc.zip |
Remove unused builder.Builder.update_job method
The deprecation warning message in this method was confusing and
seemed to be intended for builder.Jenkins.update_job but it's hard to
tell for sure. Seems likely to be an artifact of an outdated patchset
in the parallelize-the-things work done last year because it's not
clear how it could apply to builder.Builder.update_jobs which has a
significantly different use case than parallel_update_job.
Change-Id: Ifb3c1a40d81b0d43ac8e85151f0a99d1502e21db
Diffstat (limited to 'jenkins_jobs/builder.py')
-rw-r--r-- | jenkins_jobs/builder.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/jenkins_jobs/builder.py b/jenkins_jobs/builder.py index 94bd803a..934324cd 100644 --- a/jenkins_jobs/builder.py +++ b/jenkins_jobs/builder.py @@ -371,9 +371,3 @@ class Builder(object): def parallel_update_job(self, job): self.jenkins.update_job(job.name, job.output().decode('utf-8')) return (job.name, job.md5()) - - def update_job(self, input_fn, jobs_glob=None, output=None): - logging.warn('Current update_job function signature is deprecated and ' - 'will change in future versions to the signature of the ' - 'new parallel_update_job') - return self.update_jobs(input_fn, jobs_glob, output) |