From 0f499656cbe89f0233e255822c62b4ac60f5c35e Mon Sep 17 00:00:00 2001 From: Sateesh Date: Thu, 20 Mar 2014 20:47:39 +0530 Subject: [PATCH] minor fix to exception messages to improve readability. --- jenkinsapi/job.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.34.1