[rhmessaging-commits] rhmessaging commits: r4268 - mgmt/newdata/cumin/python/cumin/grid.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Sep 9 15:06:44 EDT 2010


Author: eallen
Date: 2010-09-09 15:06:43 -0400 (Thu, 09 Sep 2010)
New Revision: 4268

Modified:
   mgmt/newdata/cumin/python/cumin/grid/job.py
Log:
Set the job hold/release reason text to be required

Modified: mgmt/newdata/cumin/python/cumin/grid/job.py
===================================================================
--- mgmt/newdata/cumin/python/cumin/grid/job.py	2010-09-09 15:07:32 UTC (rev 4267)
+++ mgmt/newdata/cumin/python/cumin/grid/job.py	2010-09-09 19:06:43 UTC (rev 4268)
@@ -251,6 +251,7 @@
         self.add_parameter(self.submission_id)
 
         self.content = ReasonField(app, "fields")
+        self.content.required = True
         self.replace_child(self.content)
 
         self.verb = verb
@@ -766,6 +767,7 @@
         super(JobActionForm, self).__init__(app, name, task)
 
         self.reason = ReasonField(app, "reason")
+        self.reason.required = True
         self.add_field(self.reason)
 
         self.job_id = Parameter(app, "job_id")



More information about the rhmessaging-commits mailing list