diff options
Diffstat (limited to 'automation/clients/helper/jobs.py')
-rw-r--r-- | automation/clients/helper/jobs.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/automation/clients/helper/jobs.py b/automation/clients/helper/jobs.py index ea9c9691..96a1c408 100644 --- a/automation/clients/helper/jobs.py +++ b/automation/clients/helper/jobs.py @@ -1,13 +1,11 @@ -#!/usr/bin/python -# # Copyright 2010 Google Inc. All Rights Reserved. from automation.common import job from automation.common import machine -def CreateLinuxJob(label, command, lock=False, timeout=4*60*60): +def CreateLinuxJob(label, command, lock=False, timeout=4 * 60 * 60): to_return = job.Job(label, command, timeout) - to_return.DependsOnMachine( - machine.MachineSpecification(os="linux", lock_required=lock)) + to_return.DependsOnMachine(machine.MachineSpecification(os='linux', + lock_required=lock)) return to_return |