mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
black .
This commit is contained in:
+1
-1
@@ -573,7 +573,7 @@ def build_dependency(
|
||||
)
|
||||
except Exception as e:
|
||||
print("-" * 70)
|
||||
print(open(os.path.join(extract_dir, 'hdf5.log')))
|
||||
print(open(os.path.join(extract_dir, "hdf5.log")))
|
||||
print("-" * 70)
|
||||
raise e
|
||||
run([tar, "-xf", kwargs["ctest_result"] + ".tar.gz"], cwd=os.path.join(extract_dir, "build"))
|
||||
|
||||
@@ -362,9 +362,7 @@ def log_internal_cpp_errors(
|
||||
l.decode("ascii", errors="ignore").strip()
|
||||
for l in lines
|
||||
if l.strip().startswith(f"#{instid[0]}".encode("ascii"))
|
||||
and re.sub(r"\s+".encode("ascii"), b"", l).startswith(
|
||||
f"#{instid[0]}=".encode("ascii")
|
||||
)
|
||||
and re.sub(r"\s+".encode("ascii"), b"", l).startswith(f"#{instid[0]}=".encode("ascii"))
|
||||
),
|
||||
None,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user