File fix-build-with-python-2.6.patch of Package fonttools

Index: Lib/fontTools/ttLib/tables/ttProgram.py
===================================================================
RCS file: /cvsroot/fonttools/fonttools/Lib/fontTools/ttLib/tables/ttProgram.py,v
retrieving revision 1.5
diff -u -r1.5 ttProgram.py
--- Lib/fontTools/ttLib/tables/ttProgram.py	24 May 2002 14:42:15 -0000	1.5
+++ Lib/fontTools/ttLib/tables/ttProgram.py	16 Sep 2008 13:28:29 -0000
@@ -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()
 
openSUSE Build Service is sponsored by