mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
-m ifcopenshell.validate not to print an empty line if file is valid
This commit is contained in:
@@ -543,7 +543,8 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
return str(x)
|
return str(x)
|
||||||
|
|
||||||
print("\n".join(json.dumps(x, default=conv) for x in logger.statements))
|
for x in logger.statements:
|
||||||
|
print(json.dumps(x, default=conv))
|
||||||
|
|
||||||
if handler:
|
if handler:
|
||||||
logger.removeHandler(handler)
|
logger.removeHandler(handler)
|
||||||
|
|||||||
Reference in New Issue
Block a user