summaryrefslogtreecommitdiffstats
path: root/contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-07-31 11:14:11 +0300
committerrobot-piglet <[email protected]>2025-07-31 12:10:37 +0300
commite177928be72df9669dbb830824b4233a33c8723f (patch)
treea91d4ec6bbe7dc221c049475a91255c2996fd84e /contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py
parenta1700abf3c749b43117e757deb259d2a7bcdf46a (diff)
Intermediate changes
commit_hash:60aaacde4a6a0fb68b6435d7f100365d0c77d64d
Diffstat (limited to 'contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py')
-rw-r--r--contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py b/contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py
index 876fef3cbaa..e8090af1e52 100644
--- a/contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py
+++ b/contrib/python/fonttools/fontTools/ttLib/tables/S__i_l_f.py
@@ -948,7 +948,7 @@ class Pass(object):
writer.newline()
writer.begintag("rules")
writer.newline()
- for i in range(len(self.actions)):
+ for i, action in enumerate(self.actions):
writer.begintag(
"rule",
index=i,
@@ -958,7 +958,7 @@ class Pass(object):
writer.newline()
if len(self.ruleConstraints[i]):
writecode("constraint", writer, self.ruleConstraints[i])
- writecode("action", writer, self.actions[i])
+ writecode("action", writer, action)
writer.endtag("rule")
writer.newline()
writer.endtag("rules")