From 4afc3d4334263eacca81c6b1b49fd9f5f844b19a Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 12 Feb 2024 12:22:38 +0000 Subject: [PATCH] remove spurious continue in _bracket_info() 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. --- Lib/glyphsLib/classes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/glyphsLib/classes.py b/Lib/glyphsLib/classes.py index 3960ccdde..0e9e5c33c 100755 --- a/Lib/glyphsLib/classes.py +++ b/Lib/glyphsLib/classes.py @@ -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