Beispiel #1
0
 def processObject(self, obj):
     """Operate on the provided task object."""
     # fetch the sql dump for job; result is in a dictionary, so extract for this jid
     dump = query.jobdump(obj).get(obj.jid, "")
     if dump:
         print dump
Beispiel #2
0
def test_jobdump(jid):
    dump = tq.jobdump("jid=%d" % jid)
    print dump