* [gentoo-commits] gentoo-x86 commit in dev-python/fonttools/files: fonttools-2.2-fix_syntax.patch
@ 2009-08-14 15:35 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-08-14 15:35 UTC (permalink / raw
To: gentoo-commits
arfrever 09/08/14 15:35:10
Added: fonttools-2.2-fix_syntax.patch
Log:
Fix syntax (bug #265805).
(Portage version: 14029-svn/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-python/fonttools/files/fonttools-2.2-fix_syntax.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/fonttools/files/fonttools-2.2-fix_syntax.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/fonttools/files/fonttools-2.2-fix_syntax.patch?rev=1.1&content-type=text/plain
Index: fonttools-2.2-fix_syntax.patch
===================================================================
--- Lib/fontTools/ttLib/tables/_c_m_a_p.py
+++ Lib/fontTools/ttLib/tables/_c_m_a_p.py
@@ -174,7 +174,7 @@
if data != None and ttFont != None:
self.decompileHeader(data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data # decompileHeader assigns the data after the header to self.data
assert 262 == self.length, "Format 0 cmap subtable not 262 bytes"
glyphIdArray = array.array("B")
@@ -262,7 +262,7 @@
if data != None and ttFont != None:
self.decompileHeader(data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data # decompileHeader assigns the data after the header to self.data
subHeaderKeys = []
@@ -632,7 +632,7 @@
if data != None and ttFont != None:
self.decompileHeader(self.data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data # decompileHeader assigns the data after the header to self.data
(segCountX2, searchRange, entrySelector, rangeShift) = \
@@ -836,7 +836,7 @@
if data != None and ttFont != None:
self.decompileHeader(data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data # decompileHeader assigns the data after the header to self.data
firstCode, entryCount = struct.unpack(">HH", data[:4])
@@ -924,7 +924,7 @@
if data != None and ttFont != None:
self.decompileHeader(data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data # decompileHeader assigns the data after the header to self.data
charCodes = []
@@ -1086,7 +1086,7 @@
if data != None and ttFont != None:
self.decompileHeader(data, ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
data = self.data
self.cmap = {} # so that clients that expect this to exist in a cmap table won't fail.
@@ -1277,7 +1277,7 @@
if data != None and ttFont != None:
self.decompileHeader(data[offset:offset+int(length)], ttFont)
else:
- assert( (data == None and (ttFont == None), "Need both data and ttFont arguments"))
+ assert (data == None and ttFont == None), "Need both data and ttFont arguments"
def compile(self, ttFont):
if self.data:
--- Lib/fontTools/ttLib/tables/ttProgram.py
+++ Lib/fontTools/ttLib/tables/ttProgram.py
@@ -394,7 +394,7 @@
p = Program()
p.fromBytecode(bc)
- as = p.getAssembly()
- p.fromAssembly(as)
+ assembly = p.getAssembly()
+ p.fromAssembly(assembly)
print bc == p.getBytecode()
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-python/fonttools/files: fonttools-2.2-fix_syntax.patch
@ 2010-10-30 22:46 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-10-30 22:46 UTC (permalink / raw
To: gentoo-commits
arfrever 10/10/30 22:46:43
Removed: fonttools-2.2-fix_syntax.patch
Log:
Delete older ebuild.
(Portage version: 2.2.0_alpha2_p2/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-30 22:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-30 22:46 [gentoo-commits] gentoo-x86 commit in dev-python/fonttools/files: fonttools-2.2-fix_syntax.patch Arfrever Frehtes Taifersar Arahesis (arfrever)
-- strict thread matches above, loose matches on Subject: below --
2009-08-14 15:35 Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox