python-fonttools/python-fontTools-2.2-python-2.6.patch

14 lines
498 B
Diff
Raw Permalink Normal View History

diff -Nru fonttools-2.2.orig/Lib/fontTools/ttLib/tables/ttProgram.py fonttools-2.2/Lib/fontTools/ttLib/tables/ttProgram.py
--- fonttools-2.2.orig/Lib/fontTools/ttLib/tables/ttProgram.py 2002-05-24 16:42:15.000000000 +0200
+++ fonttools-2.2/Lib/fontTools/ttLib/tables/ttProgram.py 2012-10-15 02:28:09.928007906 +0200
@@ -394,7 +394,7 @@
p = Program()
p.fromBytecode(bc)
- as = p.getAssembly()
- p.fromAssembly(as)
+ asm = p.getAssembly()
+ p.fromAssembly(asm)
print bc == p.getBytecode()