From c21f79539f83bfb42c18e68074e39cf67461fdc0 Mon Sep 17 00:00:00 2001 From: Just Date: Mon, 27 Dec 1999 15:40:43 +0000 Subject: [PATCH] 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 --- ttCompile.py | 4 ++++ xml2tt.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ttCompile.py b/ttCompile.py index 92e8ccfa4..69c5634c3 100644 --- a/ttCompile.py +++ b/ttCompile.py @@ -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())) diff --git a/xml2tt.py b/xml2tt.py index 92e8ccfa4..69c5634c3 100644 --- a/xml2tt.py +++ b/xml2tt.py @@ -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()))