Changeset View
Changeset View
Standalone View
Standalone View
netrender/master_html.py
| Context not available. | |||||
| # includeFiles: boolean to indicate if we want file to be serialized too into job | # includeFiles: boolean to indicate if we want file to be serialized too into job | ||||
| # includeFrames; boolean to indicate if we want frame to be serialized too into job | # includeFrames; boolean to indicate if we want frame to be serialized too into job | ||||
| def gethtmlJobInfo(job,includeFiles=True,includeFrames=True): | def gethtmlJobInfo(job,includeFiles=True,includeFrames=True): | ||||
| if (job): | if job: | ||||
| results = job.framesStatus() | results = job.framesStatus() | ||||
| serializedJob = job.serialize(withFiles=includeFiles, withFrames=includeFrames) | serializedJob = job.serialize(withFiles=includeFiles, withFrames=includeFrames) | ||||
| serializedJob["p_rule"] = handler.server.balancer.applyPriorities(job) | serializedJob["p_rule"] = handler.server.balancer.applyPriorities(job) | ||||
| Context not available. | |||||