From ff8af34d42142ddc26e1b56ebba75ed0cc7b6899 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 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): -- 2.7.4