Conditions | 3 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """ |
||
22 | def construct_command(pargs): |
||
23 | mayapy = mayaloc.mayapy(pargs.maya) |
||
24 | if not os.path.isfile(mayapy): |
||
25 | raise RuntimeError( |
||
26 | 'Maya {0} is not installed on the system'.format(pargs.maya)) |
||
27 | |||
28 | cmd = [mayapy, os.path.normpath(os.path.realpath(pytest.__file__))] |
||
29 | if pargs.pytest: |
||
30 | cmd.append(pargs.pytest) |
||
31 | return cmd |
||
32 | |||
45 |