From e193b72ff39a46ef39ca539262f1881a87b789f6 Mon Sep 17 00:00:00 2001 From: Tal Leming Date: Mon, 28 Mar 2016 07:19:21 -0400 Subject: [PATCH] Work through the pairs in a reliable order. --- Lib/ufoLib/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ufoLib/validators.py b/Lib/ufoLib/validators.py index a74387a8e..bc8e90473 100644 --- a/Lib/ufoLib/validators.py +++ b/Lib/ufoLib/validators.py @@ -931,7 +931,7 @@ def kerningValidatorReportPairs(kerning, groups): # search for conflicts errors = [] pairs = [] - for first, second in kerning.keys(): + for first, second in sorted(kerning.keys()): firstIsGroup = first.startswith("public.kern1.") secondIsGroup = second.startswith("public.kern2.") # skip anything other than glyph + group and group + glyph