mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +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:
|
||||
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:
|
||||
logger.removeHandler(handler)
|
||||
|
||||
Reference in New Issue
Block a user