Skip to content

Commit

Permalink
remove spurious continue in _bracket_info()
Browse files Browse the repository at this point in the history
this if branch was never true probably because of a typo (the author probably meant to compare axis.minimum with 'axis_min'  instead of 'axis_max'), besides it would be incorrect to ignore such an always-true axis rule.
  • Loading branch information
anthrotype committed Feb 12, 2024
1 parent a8399de commit 4afc3d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Lib/glyphsLib/classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3948,9 +3948,6 @@ def _bracket_info(self, axes):
axis_min = float(axis_min)
if isinstance(axis_max, str):
axis_max = float(axis_max)
if axis_max == axis.minimum and axis_max == axis.maximum:
# It's full range, ignore it.
continue
info[axis.tag] = (axis_min, axis_max)
return info

Expand Down

0 comments on commit 4afc3d4

Please sign in to comment.