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~28^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f499656cbe89f0233e255822c62b4ac60f5c35e;p=tools%2Fpython-jenkinsapi.git minor fix to exception messages to improve readability. --- diff --git a/jenkinsapi/job.py b/jenkinsapi/job.py index b1668d0..6d490e6 100644 --- a/jenkinsapi/job.py +++ b/jenkinsapi/job.py @@ -415,10 +415,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):