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