From 29fa5bdffaadcda8a71cf76e6a57138aaab6d1a8 Mon Sep 17 00:00:00 2001 From: atom3 Date: Thu, 29 Apr 2021 21:33:07 +0200 Subject: [PATCH] replace f-string with % --- src/ifcopenshell-python/ifcopenshell/ids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/ids.py b/src/ifcopenshell-python/ifcopenshell/ids.py index 3334b0816d..6b3d1cb08f 100644 --- a/src/ifcopenshell-python/ifcopenshell/ids.py +++ b/src/ifcopenshell-python/ifcopenshell/ids.py @@ -304,7 +304,7 @@ if __name__ == "__main__": ids_file = ids(sys.argv[1]) ifc_file = ifcopenshell.open(sys.argv[2]) - + ids_file.validate(ifc_file, logger) - print(f"Validated {len(ids_file.specifications[0].requirements.terms)} IDS requirements on {len(ifc_file.by_type('IfcProduct'))} IFC elements. Results saved to {filename}") + print("Validated %s IDS requirements on %s IFC elements. Results saved to %s" % (len(ids_file.specifications[0].requirements.terms), len(ifc_file.by_type('IfcProduct')), filename)) \ No newline at end of file