changed some variable names.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@12 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 1999-12-18 18:11:44 +00:00
parent e4d59426c5
commit a7b9f2919e
2 changed files with 12 additions and 12 deletions

View File

@ -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)

View File

@ -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)