jsub: guard against PYTHONPATH munging in caller's environment

Authored by bd808 on Nov 21 2016, 11:18 PM.

Description

jsub: guard against PYTHONPATH munging in caller's environment

Use the -E and -s cli arguments of Python to ignore PYTHONPATH,
PYTHONHOME, and user local package directories when executing.

Note: includes line length changes to prior code to make flake8 happy.

Bug: T147350
Change-Id: Id436ab67e1b2141ca8a4fafcc711cd47cd792cf6

Details

Committed
bd808Nov 21 2016, 11:25 PM
Parents
rLTOL99e9eac0ee58: www: clean non-UTF8 chars from qstat output
Branches
Unknown
Tags
Unknown
References
refs/changes/90/322790/2
ChangeId
Id436ab67e1b2141ca8a4fafcc711cd47cd792cf6