From 786656a8466f2edb6e5740796a4bf2e2f5aab551 Mon Sep 17 00:00:00 2001 From: Knut Nergaard Date: Fri, 6 Dec 2024 08:47:26 +0100 Subject: [PATCH] Redefined variables for type security. --- Lib/fontParts/base/info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/fontParts/base/info.py b/Lib/fontParts/base/info.py index 0b9252cd..4ca0c300 100644 --- a/Lib/fontParts/base/info.py +++ b/Lib/fontParts/base/info.py @@ -7,9 +7,9 @@ class BaseInfo(BaseObject, DeprecatedInfo, RemovedInfo): from fontTools.ufoLib import fontInfoAttributesVersion3 - copyAttributes = set(fontInfoAttributesVersion3) - copyAttributes.remove("guidelines") - copyAttributes = tuple(copyAttributes) + fontInfoAttributes = set(fontInfoAttributesVersion3) + fontInfoAttributes.remove("guidelines") + copyAttributes = tuple(fontInfoAttributes) def _reprContents(self): contents = []