From 1f0181cdcc5bcda5c19b072f286dd8222b4484ab Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 23 Jul 2022 15:10:45 +0200 Subject: [PATCH] [App] remove check for Python 2 --- src/App/FreeCADInit.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/App/FreeCADInit.py b/src/App/FreeCADInit.py index a291be8030..286e331ced 100644 --- a/src/App/FreeCADInit.py +++ b/src/App/FreeCADInit.py @@ -311,12 +311,6 @@ except ImportError: FreeCAD.Console.PrintError("\n\nSeems the python standard libs are not installed, bailing out!\n\n") raise -# Backward compatibility to Py2 -import sys -if sys.version_info.major < 3: - import time - time.process_time = time.clock - class FCADLogger(object): '''Convenient class for tagged logging.