Skip to content

Commit

Permalink
Oops: actually *use* the nicely sorted sources list
Browse files Browse the repository at this point in the history
  • Loading branch information
justvanrossum committed Apr 28, 2024
1 parent 1c69bd8 commit 1627f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/ufo2ft/featureCompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ def transform(f: SourceDescriptor) -> str:
)
assert sources[0] == designSpaceDoc.default

transformed = [transform(s) for s in designSpaceDoc.sources]
transformed = [transform(s) for s in sources]
first = transformed[0]
return all(s == first for s in transformed[1:]) or all(
not s for s in transformed[1:]
Expand Down

0 comments on commit 1627f60

Please sign in to comment.