minor fix to exception messages to improve readability.
authorSateesh <sateeshkumarb@yahoo.com>
Thu, 20 Mar 2014 15:17:39 +0000 (20:47 +0530)
committerAleksey Maksimov <ctpeko3a@gmail.com>
Sun, 30 Mar 2014 08:50:38 +0000 (16:50 +0800)
jenkinsapi/job.py

index b1668d000782396d16ee824bea9da8293ccf7337..6d490e638050f414cf6012a7beefc07331ccb877 100644 (file)
@@ -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):