Author: eallen
Date: 2008-09-17 10:54:22 -0400 (Wed, 17 Sep 2008)
New Revision: 2489
Modified:
mgmt/trunk/cumin/python/cumin/job.py
Log:
Use GlobalJobId as job name instead of sourceId
Modified: mgmt/trunk/cumin/python/cumin/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.py 2008-09-17 13:43:04 UTC (rev 2488)
+++ mgmt/trunk/cumin/python/cumin/job.py 2008-09-17 14:54:22 UTC (rev 2489)
@@ -406,6 +406,14 @@
def gen_item(self, name, value, cls, path=None, dtype=None, error=None):
+ """ Generate a dict with name, value, type, error, path, property
+
+ This is called with raw GetAd data and with processed data from
+ a form submit. With raw data, only the name and value will be present.
+ With form data, we might have a path, dtype, or error. dtype is the
+ data type that was remembered from the raw data.
+ """
+
idict = dict()
idict["name"] = name
idict["value"] = value
Show replies by date