mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Prevent bytecode from being written do disk
This commit is contained in:
parent
e5207b788e
commit
d8275f2c1d
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ RUNTESTS_LOGFILE = os.path.join(
|
|||
'runtests-{}.log'.format(datetime.datetime.now().strftime('%Y%m%d%H%M%S.%f'))
|
||||
)
|
||||
|
||||
# Prevent Python from writing bytecode
|
||||
os.environ[str('PYTHONDONTWRITEBYTECODE')] = str('1')
|
||||
|
||||
|
||||
def _create_ci_directories():
|
||||
for dirname in ('logs', 'coverage', 'xml-unittests-output'):
|
||||
|
|
Loading…
Add table
Reference in a new issue