summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/oommf/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/oommf/package.py')
-rw-r--r--var/spack/repos/builtin/packages/oommf/package.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/oommf/package.py b/var/spack/repos/builtin/packages/oommf/package.py
index 814b091933..860b19be85 100644
--- a/var/spack/repos/builtin/packages/oommf/package.py
+++ b/var/spack/repos/builtin/packages/oommf/package.py
@@ -117,9 +117,7 @@ class Oommf(Package):
Here, we try to find the relative path to that file, and return it.
"""
if "oommf.tcl" in os.listdir():
- print(
- "Found 'oommf.tcl' in " + os.getcwd() + " (looks like source from NIST)"
- )
+ print("Found 'oommf.tcl' in " + os.getcwd() + " (looks like source from NIST)")
return "."
elif "oommf.tcl" in os.listdir("oommf"):
print(
@@ -207,11 +205,7 @@ class Oommf(Package):
test_env["PATH"] = os.environ["PATH"]
output = self.tclsh(
- self.oommf_tcl_path,
- *oommf_args,
- output=str.split,
- error=str.split,
- env=test_env
+ self.oommf_tcl_path, *oommf_args, output=str.split, error=str.split, env=test_env
)
print("output received from oommf is %s" % output)