From: Sateesh Date: Thu, 20 Mar 2014 15:17:39 +0000 (+0530) Subject: minor fix to exception messages to improve readability. X-Git-Tag: v0.2.23~34^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff8af34d42142ddc26e1b56ebba75ed0cc7b6899;p=tools%2Fpython-jenkinsapi.git minor fix to exception messages to improve readability. --- diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index d5e1b69..0a50779 100644 --- a/jenkinsapi/job.py +++ b/jenkinsapi/job.py @@ -386,10 +386,10 @@ class Job(JenkinsBase, MutableJenkinsThing): scm = self._scm_map.get(scm_class) if not scm: raise NotSupportSCM( - "SCM class \"%s\" not supported by API, job \"%s\"" % (scm_class, self.name)) + "SCM class \"%s\" not supported by API for job \"%s\"" % (scm_class, self.name)) if scm == 'NullSCM': raise NotConfiguredSCM( - "SCM does not configured, job \"%s\"" % self.name) + "SCM is not configured for job \"%s\"" % self.name) return scm def get_scm_url(self):