print final (timing) message when in verbose mode

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@35 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 1999-12-27 15:40:43 +00:00
parent 7a8ca4af56
commit c21f79539f
2 changed files with 8 additions and 0 deletions

View File

@ -39,3 +39,7 @@ else:
tt = ttLib.TTFont(ttInFile, recalcBBoxes=recalcBBoxes, verbose=verbose)
tt.importXML(xmlPath)
tt.save(ttPath)
del tt
if verbose:
import time
print "%s finished at" % sys.argv[0], time.strftime("%H:%M:%S", time.localtime(time.time()))

View File

@ -39,3 +39,7 @@ else:
tt = ttLib.TTFont(ttInFile, recalcBBoxes=recalcBBoxes, verbose=verbose)
tt.importXML(xmlPath)
tt.save(ttPath)
del tt
if verbose:
import time
print "%s finished at" % sys.argv[0], time.strftime("%H:%M:%S", time.localtime(time.time()))