Fix flake8 error

This commit is contained in:
Carson Woods
2019-07-15 11:33:42 -06:00
parent 5a7f186176
commit 53cf6eb194

View File

@@ -78,7 +78,6 @@ def get_tmp_root():
if 'SPACK_PATH' in os.environ: if 'SPACK_PATH' in os.environ:
candidates = os.path.join(spack_path, candidates = os.path.join(spack_path,
'var/spack/stage') 'var/spack/stage')
else: else:
candidates = spack.config.get('config:build_stage') candidates = spack.config.get('config:build_stage')
@@ -213,7 +212,6 @@ def __init__(
else: else:
spack_path = os.path.expanduser('~/.spack/') spack_path = os.path.expanduser('~/.spack/')
# Try to construct here a temporary name for the stage directory # Try to construct here a temporary name for the stage directory
# If this is a named stage, then construct a named path. # If this is a named stage, then construct a named path.
if path is not None: if path is not None: