From a7b9f2919edd03a2d99536e41874b3bbb221fd99 Mon Sep 17 00:00:00 2001 From: Just Date: Sat, 18 Dec 1999 18:11:44 +0000 Subject: [PATCH] changed some variable names. git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@12 4cde692c-a291-49d1-8350-778aa11640f8 --- tt2xml.py | 12 ++++++------ ttDump.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tt2xml.py b/tt2xml.py index 5b6c247a8..eac82a483 100644 --- a/tt2xml.py +++ b/tt2xml.py @@ -32,14 +32,14 @@ for option, value in options: if len(args) == 1: - ttpath = args[0] - name, ext = os.path.splitext(ttpath) - xmlpath = name + '.xml' + ttPath = args[0] + name, ext = os.path.splitext(ttPath) + xmlPath = name + '.xml' elif len(args) == 2: - ttpath, xmlpath = args + ttPath, xmlPath = args else: print __doc__ % sys.argv[0] sys.exit(2) -tt = ttLib.TTFont(ttpath, verbose=verbose) -tt.saveXML(xmlpath, tables=tables) +tt = ttLib.TTFont(ttPath, verbose=verbose) +tt.saveXML(xmlPath, tables=tables) diff --git a/ttDump.py b/ttDump.py index 5b6c247a8..eac82a483 100644 --- a/ttDump.py +++ b/ttDump.py @@ -32,14 +32,14 @@ for option, value in options: if len(args) == 1: - ttpath = args[0] - name, ext = os.path.splitext(ttpath) - xmlpath = name + '.xml' + ttPath = args[0] + name, ext = os.path.splitext(ttPath) + xmlPath = name + '.xml' elif len(args) == 2: - ttpath, xmlpath = args + ttPath, xmlPath = args else: print __doc__ % sys.argv[0] sys.exit(2) -tt = ttLib.TTFont(ttpath, verbose=verbose) -tt.saveXML(xmlpath, tables=tables) +tt = ttLib.TTFont(ttPath, verbose=verbose) +tt.saveXML(xmlPath, tables=tables)