Updated time.clock to time.time, since former was deprecated.

This commit is contained in:
Brian Ernst 2020-08-12 14:49:57 -07:00
parent e5a84235cb
commit 7f3c4b1cb8
3 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ import time, traceback
#==============================================================
def main( args ):
start = time.clock()
start = time.time()
fail_if_no_p4()
@ -143,7 +143,7 @@ def main( args ):
if error_count > 0:
output += " w/ " + str( error_count ) + singular_pulural( error_count, " error", " errors" )
end = time.clock()
end = time.time()
delta = end - start
output += "\nFinished in " + str(delta) + "s"