• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2010 Google Inc. All Rights Reserved.
2
3from automation.common import job
4from automation.common import machine
5
6
7def CreateLinuxJob(label, command, lock=False, timeout=4 * 60 * 60):
8  to_return = job.Job(label, command, timeout)
9  to_return.DependsOnMachine(machine.MachineSpecification(os='linux',
10                                                          lock_required=lock))
11  return to_return
12