minor cleanups

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@131 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 2001-04-20 18:39:21 +00:00
parent ad6bb5a352
commit 344757f42d
2 changed files with 4 additions and 4 deletions

View File

@ -51,8 +51,8 @@ def deHexString(h):
def _test(): def _test():
import eexecOp from fontTools.misc import eexecOp
testStr = "\0\0asdadads asds" testStr = "\0\0asdadads asds\265"
print decrypt, decrypt(testStr, 12321) print decrypt, decrypt(testStr, 12321)
print eexecOp.decrypt, eexecOp.decrypt(testStr, 12321) print eexecOp.decrypt, eexecOp.decrypt(testStr, 12321)
print encrypt, encrypt(testStr, 12321) print encrypt, encrypt(testStr, 12321)
@ -64,7 +64,7 @@ if __name__ == "__main__":
try: try:
from eexecOp import * from fontTools.misc.eexecOp import *
except ImportError: except ImportError:
pass # Use the slow Python versions pass # Use the slow Python versions

View File

@ -341,6 +341,6 @@ if __name__ == "__main__":
import macfs import macfs
fss, ok = macfs.StandardGetFile("LWFN") fss, ok = macfs.StandardGetFile("LWFN")
if ok: if ok:
import t1Lib from fontTools import t1Lib
data, kind = t1Lib.read(fss.as_pathname()) data, kind = t1Lib.read(fss.as_pathname())
font = suckfont(data) font = suckfont(data)