minor fix to exception messages to improve readability.
authorSateesh <sateeshkumarb@yahoo.com>
Thu, 20 Mar 2014 15:17:39 +0000 (20:47 +0530)
committerSateesh <sateeshkumarb@yahoo.com>
Thu, 20 Mar 2014 15:17:39 +0000 (20:47 +0530)
jenkinsapi/job.py

index d5e1b69..0a50779 100644 (file)
@@ -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):