From e8d5f9df2f097388cc722a1d4a6bc34090954e54 Mon Sep 17 00:00:00 2001 From: Vojtech Juranek Date: Fri, 3 May 2013 02:17:10 +0200 Subject: [PATCH] Fix typo in variable name --- jenkinsapi/jenkins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/jenkins.py b/jenkinsapi/jenkins.py index 5ee55f1..c290299 100644 --- a/jenkinsapi/jenkins.py +++ b/jenkinsapi/jenkins.py @@ -320,7 +320,7 @@ class Jenkins(JenkinsBase): if name == jobname: preferred_scheme = urlparse.urlsplit(self.baseurl).scheme url_split = urlparse.urlsplit(url) - preffered_url = urlparse.urlunsplit([preferred_scheme, url_split.netloc, url_split.path, url_split.query, url_split.fragment]) + preferred_url = urlparse.urlunsplit([preferred_scheme, url_split.netloc, url_split.path, url_split.query, url_split.fragment]) return Job(preferred_url, name, jenkins_obj=self) raise UnknownJob(jobname) -- 2.7.4