Fixes Flake8 indentation errors.
This commit is contained in:
parent
ae167c09fc
commit
661708b7fa
@ -27,9 +27,9 @@ def _target_from_clean_env(name):
|
|||||||
# CAUTION - $USER is generally needed to initialize the environment.
|
# CAUTION - $USER is generally needed to initialize the environment.
|
||||||
# There may be other variables needed for general success.
|
# There may be other variables needed for general success.
|
||||||
output = env('USER=%s' % os.environ['USER'],
|
output = env('USER=%s' % os.environ['USER'],
|
||||||
'/bin/bash', '--noprofile', '--norc', '-c',
|
'/bin/bash', '--noprofile', '--norc', '-c',
|
||||||
'. /etc/profile; module list -lt',
|
'. /etc/profile; module list -lt',
|
||||||
output=str, error=str)
|
output=str, error=str)
|
||||||
default_modules = [i for i in output.splitlines()
|
default_modules = [i for i in output.splitlines()
|
||||||
if len(i.split()) == 1]
|
if len(i.split()) == 1]
|
||||||
tty.debug("Found default modules:",
|
tty.debug("Found default modules:",
|
||||||
|
Loading…
Reference in New Issue
Block a user