Compare commits

...

1 Commits

Author SHA1 Message Date
Suzanne Soy
e9d86c0d05 use time.process_time() instead of time.clock for compatibility with python3 2020-12-31 03:53:47 +00:00

View File

@ -94,7 +94,7 @@ class CQModel(object):
if not build_parameters:
build_parameters = {}
start = time.clock()
start = time.process_time()
result = BuildResult()
try:
@ -119,7 +119,7 @@ class CQModel(object):
#print "Full Text of Script:"
#print self.script_source
end = time.clock()
end = time.process_time()
result.buildTime = end - start
return result